Sunan Ibn Majah #2100 · The Chapters on Divorce

Sunan Ibn MajahIt was narrated from Abdullah bin Buraidah that his father told that
Sunan Ibn Majah · Book 10 · The Chapters on Divorce
Sunan Ibn Majah · كتاب 10 · كتاب الطلاق
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
حَدَّثَنَا عَمْرُو بْنُ رَافِعٍ الْبَجَلِيُّ، حَدَّثَنَا الْفَضْلُ بْنُ مُوسَى، عَنِ الْحُسَيْنِ بْنِ وَاقِدٍ، عَنْ عَبْدِ اللَّهِ بْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏
"‏ مَنْ قَالَ إِنِّي بَرِيءٌ مِنَ الإِسْلاَمِ فَإِنْ كَانَ كَاذِبًا فَهُوَ كَمَا قَالَ وَإِنْ كَانَ صَادِقًا لَمْ يَعُدْ إِلَيْهِ الإِسْلاَمُ سَالِمًا ‏"‏ ‏.‏
Reference : Sunan Ibn Majah 2100In-book reference : Book 11, Hadith 11