Sunan Abi Dawud, Book 43, Hadith 501 (Abu Dawud 5275)

Narrated Abdullah ibn Umar:

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