Al-Nu'man bin Murrah al-Zuraqi (may Allah have mercy on him) narrates from Sayyiduna Mu'awiyah bin Abi Sufyan (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever loves the Ansar loves them out of love for me, and whoever hates the Ansar hates them out of hatred for me."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 16838