Sunan Ibn Majah 114
It was narrated that 'Ali said:
"The Unlettered Prophet informed me (saying) that none but a believer would love me and none but a hypocrite would hate me."
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، وَأَبُو مُعَاوِيَةَ وَعَبْدُ اللَّهِ بْنُ نُمَيْرٍ عَنِ الأَعْمَشِ، عَنْ عَدِيِّ بْنِ ثَابِتٍ، عَنْ زِرِّ بْنِ حُبَيْشٍ، عَنْ عَلِيٍّ، قَالَ عَهِدَ إِلَىَّ النَّبِيُّ الأُمِّيُّ ـ ﷺ ـ أَنَّهُ لاَ يُحِبُّنِي إِلاَّ مُؤْمِنٌ وَلاَ يُبْغِضُنِي إِلاَّ مُنَافِقٌ .
Classification
Sahih (Authentic) [Darussalam]
References
Sunan Ibn Majah 114
Sunan Ibn Majah Vol. 1, Book of Purification and its Sunnah, Hadith 114