مشكوة المصابيح Mishkat al-Masabih كتاب المناقب The Book of Merits
(مَحَبَّةُ وَعَدَاوَةُ الصَّحَابَةِ الأَنْصَارِ رَضِيَ اللَّهُ عَنْهُمْ عَلَامَةُ مَحَبَّةِ وَعَدَاوَةِ اللَّهِ تَعَالَى)

(Love and enmity for the Ansar Companions, may Allah be pleased with them, is a sign of love and enmity for Allah Almighty)

1 hadith
Hadith 6216
وَعَنِ الْبَرَاءِ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «الْأَنْصَارُ لَا يُحِبُّهُمْ إِلَّا مُؤْمِنٌ وَلَا يَبْغَضُهُمْ إِلَّا مُنَافِقٌ فَمَنْ أَحَبَّهُمْ أَحَبَّهُ اللَّهُ وَمَنْ أَبْغَضَهُمْ أَبْغَضَهُ اللَّهُ» . مُتَّفق عَلَيْهِ
Al-Bara' told that he heard God's messenger say, "Only a believer loves the Ansar and only a hypocrite hates them, so he who loves them is loved by God and he who hates them is hated by God." (Bukhari and Muslim.)
Hadith Reference Mishkat al-Masabih / The Book of Merits / Hadith: 6216
Hadith Grading الألبانی: مُتَّفَقٌ عَلَيْهِ  |  زبیر علی زئی: متفق عليه
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (3783) و مسلم (129/ 75)»