صحيح البخاري Sahih Bukhari كتاب مناقب الأنصار The Merits of Al-Ansar
بَابُ حُبُّ الأَنْصَارِ:

(4) Chapter. To love the Ansar is a sign of Faith.

2 hadith
Hadith 3783
حَدَّثَنَا حَجَّاجُ بْنُ مِنْهَالٍ ، حَدَّثَنَا شُعْبَةُ ، قَالَ : أَخْبَرَنِي عَدِيُّ بْنُ ثَابِتٍ ، قَالَ : سَمِعْتُ الْبَرَاءَ رَضِيَ اللَّهُ عَنْهُ ، قَالَ : سَمِعْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ , أَوْ قَالَ : قَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " الْأَنْصَارُ لَا يُحِبُّهُمْ إِلَّا مُؤْمِنٌ ، وَلَا يُبْغِضُهُمْ إِلَّا مُنَافِقٌ ، فَمَنْ أَحَبَّهُمْ أَحَبَّهُ اللَّهُ ، وَمَنْ أَبْغَضَهُمْ أَبْغَضَهُ اللَّهُ " .
Narrated Al-Bara: I heard the Prophet saying (or the Prophet said), "None loves the Ansar but a believer, and none hates them but a hypocrite. So Allah will love him who loves them, and He will hate him who hates them."
Hadith Reference Sahih Bukhari / The Merits of Al-Ansar / Hadith: 3783
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 3784
حَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ ، حَدَّثَنَا شُعْبَةُ ، عَنْ عَبْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ جَبْرٍ ، عَنْ أَنَسِ بْنِ مَالِكٍ رَضِيَ اللَّهُ , عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، قَالَ : " آيَةُ الْإِيمَانِ حُبُّ الْأَنْصَارِ ، وَآيَةُ النِّفَاقِ بُغْضُ الْأَنْصَارِ " .
Narrated Anas bin Malik: The Prophet said, "The sign of Belief is to love the Ansar, and the sign of hypocrisy is to hate the Ansar."
Hadith Reference Sahih Bukhari / The Merits of Al-Ansar / Hadith: 3784
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة