It is narrated from Hazrat Abu Saeed Khudri (may Allah be pleased with him) and Hazrat Abu Huraira (may Allah be pleased with him) that once the Prophet (peace and blessings be upon him) said: If people are walking on one path and you are walking on another path, then I will choose your path, and if there had been no migration, I would have been one of the Ansar.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 11636