It is narrated from Sayyiduna al-Bara' bin Azib (may Allah be pleased with him) that he heard the Prophet (peace and blessings be upon him) saying, or (the narrator said that) he narrated from the Prophet (peace and blessings be upon him), that he (peace and blessings be upon him) said about the Ansar: "None loves them but a believer, and none hates them but a hypocrite; whoever loves them, Allah will love him, and whoever hates them, Allah will hate him."
Shu'bah (may Allah have mercy on him) said: I asked Adi bin Thabit (may Allah have mercy on him): "Did you hear this from Sayyiduna al-Bara' (may Allah be pleased with him) himself?" He replied: "Yes, he narrated this hadith directly to me."