Sahih al-Bukhari, Book 2, Hadith 10 (Bukhari 17)

Narrated Anas:

The Prophet (ﷺ) said, "Love for the Ansar is a sign of faith and hatred for the Ansar is a sign of hypocrisy."