Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:16691ʿAlī b. ʿAbd al-ʿAzīz > ʿAbd al-ʿAzīz b. Muḥammad > Abū al-Yamān al-Nabbāl > Shaddād b. Abū ʿAmr b. Ḥimās > Ḥamzah b. Abū Usayd al-Anṣārī from his father

AbuUsayd heard the Messenger of Allah ﷺ say when he was coming out of the mosque, and men and women were mingled in the road: Draw back, for you must not walk in the middle of the road; keep to the sides of the road. Then women were keeping so close to the wall that their garments were rubbing against it. (Using translation from Abū Dāʾūd 5272)  

الطبراني:١٦٦٩١حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا عَبْدُ الْعَزِيزِ بْنُ مُحَمَّدٍ عَنْ أَبِي الْيَمَانِ النَّبَّالِ عَنْ شَدَّادِ بْنِ أَبِي عَمْرِو بْنِ حِمَاسٍ عَنْ حَمْزَةَ بْنِ أَبِي أُسَيْدٍ الْأَنْصَارِيِّ عَنْ أَبِيهِ

أَنَّهُ سَمِعَ رَسُولَ اللهِ ﷺ وَهُوَ خَارِجٌ مِنَ الْمَسْجِدِ فَاخْتَلَطَ الرِّجَالُ مَعَ النِّسَاءِ فِي الطَّرِيقِ فَقَالَ رَسُولُ اللهِ ﷺ «اسْتَأْخِرْنَ فَإِنَّهُ لَيْسَ لَكُنَّ أَنْ تَحْقُقْنَ الطَّرِيقَ عَلَيْكُنَّ بِحَافَّاتِ الطَّرِيقِ» وَكَانَتِ الْمَرْأَةُ تَلْصَقُ بِالْجِدَارِ حَتَّى إِنَّ ثَوْبَهَا لَيَتَعَلَّقُ بِالشَّيْءِ مِنَ الْجِدَارِ مِنْ لُصُوقِهَا  


See similar narrations below:

Collected by Abū Dāwūd
abudawud:5272ʿAbdullāh b. Maslamah > ʿAbd al-ʿAzīz / Ibn Muḥammad > Abū al-Yamān > Shaddād b. Abū ʿAmr b. Ḥimās from his father > Ḥamzah b. Abū Usayd al-Anṣārī from his father

AbuUsayd heard the Messenger of Allah ﷺ say when he was coming out of the mosque, and men and women were mingled in the road: Draw back, for you must not walk in the middle of the road; keep to the sides of the road. Then women were keeping so close to the wall that their garments were rubbing against it.  

أبو داود:٥٢٧٢حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ حَدَّثَنَا عَبْدُ الْعَزِيزِ يَعْنِي ابْنَ مُحَمَّدٍ عَنْ أَبِي الْيَمَانِ عَنْ شَدَّادِ بْنِ أَبِي عَمْرِو بْنِ حِمَاسٍ عَنْ أَبِيهِ عَنْ حَمْزَةَ بْنِ أَبِي أُسَيْدٍ الأَنْصَارِيِّ عَنْ أَبِيهِ

أَنَّهُ سَمِعَ رَسُولَ اللَّهِ ﷺ يَقُولُ وَهُوَ خَارِجٌ مِنَ الْمَسْجِدِ فَاخْتَلَطَ الرِّجَالُ مَعَ النِّسَاءِ فِي الطَّرِيقِ فَقَالَ رَسُولُ اللَّهِ ﷺ لِلنِّسَاءِ اسْتَأْخِرْنَ فَإِنَّهُ لَيْسَ لَكُنَّ أَنْ تَحْقُقْنَ الطَّرِيقَ عَلَيْكُنَّ بِحَافَاتِ الطَّرِيقِ فَكَانَتِ الْمَرْأَةُ تَلْتَصِقُ بِالْجِدَارِ حَتَّى إِنَّ ثَوْبَهَا لَيَتَعَلَّقُ بِالْجِدَارِ مِنْ لُصُوقِهَا بِهِ