"None but the believer loves them, none but the hypocrite hates them. He who loves them loves Allah and he who hates them hates Allah." I (the narrator) said: Did you hear this hadith from al-Bara'? He said: He narrated it to me. (Using translation from Muslim 75)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «فِي الْأَنْصَارِ لَا يُحِبُّهُمْ إِلَّا مُؤْمِنٌ وَلَا يَبْغَضُهُمْ إِلَّا كَافِرٌ مَنْ أَحَبَّهُمْ أَحَبَّهُ اللهُ وَمَنْ أَبْغَضَهُمْ أَبْغَضَهُ اللهُ» قَالَ شُعْبَةُ قُلْتُ لِعَدِيٍّ أَنْتَ سَمِعْتَ هَذَا مِنَ الْبَرَاءِ قَالَ «إِيَّايَ حَدَّثَ»