Hadith 6218
Abu Huraira reported God's messenger as saying, "Were it not for the Hijra I would be one of the Ansar[*]. If the people were to go in a wadi and the Ansar were to go in a different wadi (or mountain road) I would go in the wadi (or mountain-road) of the Ansar. The Ansar are an inner garment and mankind.an upper garment. After I am gone you will see selfish appropriation [of worldly goods], but show endurance till you meet me at the Pond." *This most probably indicates that the dignity of having emigrated is the highest, but that the position of being helpers of the emigrants comes next. Bukhari transmitted it.
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَوْلَا الْهِجْرَةُ لَكُنْتُ امْرَءًا مِنَ الْأَنْصَارِ وَلَوْ سَلَكَ النَّاسُ وَادِيًا وَسَلَكَتِ الْأَنْصَارُ وَادِيًا أَوْ شِعْبًا لَسَلَكْتُ وَادِيَ الْأَنْصَارِ وشعبها وَالْأَنْصَار شِعَارٌ وَالنَّاسُ دِثَارٌ إِنَّكُمْ سَتَرَوْنَ بَعْدِي أَثَرَةً فَاصْبِرُوا حَتَّى تَلْقَوْنِي عَلَى الْحَوْضِ» . رَوَاهُ الْبُخَارِيُّ