Sunan an-Nasa'i, Volume 6, Book 47, Hadith 5022 (DarusSalam)

It was narrated from Anas that: The Prophet [SAW] said: "Love for Ansar is a sign of Faith, and hatred for Ansar is a sign of hypocrisy."

أَخْبَرَنَا إِسْمَعِيلُ بْنُ مَسْعُودٍ قَالَ حَدَّثَنَا خَالِدٌ يَعْنِي ابْنَ الْحَارِثِ عَنْ شُعْبَةَ عَنْ عَبْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ جَبْرٍ عَنْ أَنَسٍ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ حُبُّ الْأَنْصَارِ آيَةُ الْإِيمَانِ وَبُغْضُ الْأَنْصَارِ آيَةُ النِّفَاقِ

sunnah.com