Sahih al-Bukhari, Book 63, Hadith 8 (Bukhari 3620)
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."