The unlettered Prophet ﷺ gave me his solemn word that none would love me except a believer, and none would hate me except a hypocrite.
حدثنا علي بن محمد حدثنا وكيع وأبو معاوية وعبد الله بن نمير عن الأعمش عن عدي بن ثابت عن زر بن حبيش
عهد إلي النبي الأمي ﷺ أنه لا يحبني إلا مؤمن ولا يبغضني إلا منافق
Muslim narrated it in the book of faith, in the chapter on the evidence that love of the Ansar is a sign of faith and hatred of them is a sign of hypocrisy, hadith no. 78, from the narration of Waki and Abu Muawiya, through this same chain.