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