Mishkat al-Masabih
Book 30, Hadith 230
Arabic hadith text
وَعَنِ الْبَرَاءِ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «الْأَنْصَارُ لَا يُحِبُّهُمْ إِلَّا مُؤْمِنٌ وَلَا يَبْغَضُهُمْ إِلَّا مُنَافِقٌ فَمَنْ أَحَبَّهُمْ أَحَبَّهُ اللَّهُ وَمَنْ أَبْغَضَهُمْ أَبْغَضَهُ اللَّهُ» . مُتَّفق عَلَيْهِ
Translation
Al-Baraʾ reported: I heard the Messenger of Allah ﷺ say: ‘None loves the Ansar except a believer, and none hates them except a hypocrite. Whoever loves them, Allah loves him; and whoever hates them, Allah hates him.’ Agreed upon.