Sayyiduna Abu Hurairah (may Allah be pleased with him) said: The Noble Prophet (peace and blessings be upon him) said: "If there had been no migration, I would have been one of the Ansar."
Hadith Referenceسنن دارمي / من كتاب السير / 2550
Hadith Gradingتحقیق (حسین سلیم أسد الدارانی):إسناده حسن ولكن الحديث صحيح، [مكتبه الشامله نمبر: 2556]
Hadith Takhrijاس روایت کی سند حسن اور حدیث صحیح ہے۔ دیکھئے: [بخاري 3779] ، [أبويعلی 6318] ، [ابن حبان 7369] ، [الموارد 2292]
Brief Explanation
(Commentary on Hadith 2549)
From this hadith, the virtue of the Ansar is established. In this very hadith, it is stated that if all people were to walk in one valley and the Ansar in another valley, then I would walk in the valley of the Ansar.