Sahih al-Bukhari 7245
Book 94: Wishes · Narrated by `Abdullah bin Zaid
Arabic
حَدَّثَنَا مُوسَى، حَدَّثَنَا وُهَيْبٌ، عَنْ عَمْرِو بْنِ يَحْيَى، عَنْ عَبَّادِ بْنِ تَمِيمٍ، عَنْ عَبْدِ اللَّهِ بْنِ زَيْدٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " لَوْلاَ الْهِجْرَةُ لَكُنْتُ امْرَأً مِنَ الأَنْصَارِ، وَلَوْ سَلَكَ النَّاسُ وَادِيًا أَوْ شِعْبًا، لَسَلَكْتُ وَادِيَ الأَنْصَارِ وَشِعْبَهَا ". تَابَعَهُ أَبُو التَّيَّاحِ عَنْ أَنَسٍ عَنِ النَّبِيِّ صلى الله عليه وسلم فِي الشِّعْبِ.
English translation
Narrated `Abdullah bin Zaid:The Prophet (ﷺ) said, "But for the emigration, I would have been one of the Ansar; and if the people took their way in a valley (or a mountain pass), I would take Ansar's valley or their mountain pass
Reference: Sahih al-Bukhari 7245, Book of Wishes. English translation by Dr. Muhammad Muhsin Khan.