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.
abudawud:5273Muḥammad b. Yaḥyá b. Fāris > Abū Qutaybah Salm b. Qutaybah > Dāwud b. Abū Ṣāliḥ al-Muzanī > Nāfiʿ > Ibn ʿUmar

The Prophet ﷺ prohibited that one, i.e. man, should walk between two women.  

أبو داود:٥٢٧٣حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى بْنِ فَارِسٍ حَدَّثَنَا أَبُو قُتَيْبَةَ سَلْمُ بْنُ قُتَيْبَةَ عَنْ دَاوُدَ بْنِ أَبِي صَالِحٍ الْمُزَنِيِّ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ النَّبِيَّ ﷺ نَهَى أَنْ يَمْشِيَ يَعْنِي الرَّجُلَ بَيْنَ الْمَرْأَتَيْنِ