NASAI-KUBRA 8261:
from Abū Hurayrah —
The Prophet ﷺ or Abul-Qasim said, "If the Ansar took their way through a valley or a mountain pass, I would take Ansar's valley. And but for the migration, I would have been one of the Ansar." Abu Huraira used to say, "The Prophet ﷺ is not unjust (by saying so). May my parents be sacrificed for him, for the Ansar sheltered and helped him," or said a similar sentence. (Using translation from Bukhārī 3779)
الكبرى للنسائي ٨٢٦١:
عن ابو هريره —
قَالَ رَسُولُ اللهِ ﷺ وَرُبَّمَا قَالَ أَبُو الْقَاسِمِ ﷺ «لَوَ أَنَّ الْأَنْصَارَ سَلَكُوا وَادِيًا أَوْ شِعْبًا وَسَلَكَ النَّاسُ وَادِيًا أَوْ شِعْبًا لَسَلَكْتُ وَادِيَ الْأَنْصَارِ وَلَوْلَا الْهِجْرَةُ لَكُنْتُ امْرَأً مِنَ الْأَنْصَارِ» قَالَ أَبُو هُرَيْرَةَ «مَا ظَلَمَ بِأَبِي وَأُمِّي لَقَدْ آوَوْهُ وَنَصَرُوهُ وَكَلِمَةً أُخْرَى»
hadithunlocked.com