It is narrated from Hazrat Ubayy bin Ka'b (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: If there had been no migration, I would have been one of the Ansar, and if people were to walk on one path, I would walk with the Ansar on their path.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 21257
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد حسن فى المتابعات والشواهد من أجل عبدالله بن محمد