The Messenger of Allah ﷺ said, "A woman must not travel for three days except in the company of a close male relative."
حدثنا يحيى بن آدم حدثنا أبو بكر عن مغيرة عن إبراهيم عن سهم بن منجاب عن قزعة
قال رسول الله ﷺ لا تسافر امرأة ثلاثا إلا مع ذي رحم
Its isnad is sahih. Sahm bin Munjab bin Rashid Kufi is trustworthy, and Muslim and others have narrated from him. The hadith was mentioned previously at 11453.