It is narrated from al-Hasan (may Allah have mercy on him) that the Messenger of Allah (peace and blessings be upon him) said: "The Ansar are a test (a criterion). So whoever loves them loves them because of his love for me, and whoever hates them hates them because of his hatred for me. None loves them except a believer, and none hates them except a hypocrite."