Bara bin Azib reported,

I heard the Prophet ﷺ say, "None loves the Ansar except a believer, and none hates them except a hypocrite. Whoever loves them, Allah will love him, and whoever hates them, Allah will hate him."

Azami 119

Sahih

عن البراء بن عازب قال

سمعت النبي ﷺ قال: الأنصار لا يحبهم إلا مؤمن ولا يبغضهم إلا منافق، فمن أحبهم أحبه الله، ومن أبغضهم أبغضه الله.

الأعظمي 119صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Qualities of faith
Section
Love for the Ansar being part of complete faith
Numbering
Jami al-Kamil 119 (2nd edition)
Azami 119