English : Vol. 1, Book 1, Hadith 164
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
الأَنْصَارُ شِعَارٌ وَالنَّاسُ دِثَارٌ وَلَوْ أَنَّ النَّاسَ اسْتَقْبَلُوا وَادِيًا - أَوْ شِعْبًا - وَاسْتَقْبَلَتِ الأَنْصَارُ وَادِيًا لَسَلَكْتُ وَادِيَ الأَنْصَارِ وَلَوْلاَ الْهِجْرَةُ لَكُنْتُ امْرَأً مِنَ الأَنْصَارِ "
It was narrated from 'Abdul-Muhaimin bin 'Abbas bin Sahl bin Sa'd from his father, from his grandfather, that:
The Messenger of Allah said: "The Ansar are an inner garment and the people are an outer garment. If the people were to head towards one valley or a narrow mountain pass and the Ansar towards another, I would travel to the valley of the Ansar, and were it not for the Hijrah, I would have been a man from among the Ansar."
Full reference and source
English : Vol. 1, Book 1, Hadith 164 Arabic : Book 1, Hadith 169
View source on Sunnah.com (opens in a new tab)