"The Messenger of Allah said: 'Whoever says: I have nothing to do with Islam, if he is lying then he is as he said, and if he is telling the truth, his Islam will not be sound.'"
Sunan an-Nasa'i Book 35, Hadith 12