The Messenger of Allah ﷺ said, "It is not lawful for a Muslim woman to travel a distance of one night's journey unless she is accompanied by a man who is a mahram to her."
حدثنا حجاج قال حدثنا ليث قال حدثني سعيد بن أبي سعيد عن أبيه
إن رسول الله ﷺ قال لا يحل لامرأة مسلمة تسافر مسيرة ليلة إلا ومعها رجل ذو محرم منها