The Messenger of Allah ﷺ said, "It is not lawful for a woman who believes in Allah and the Last Day to travel a distance of a day and a night except in the company of a male relative she is forbidden to marry."
و حدثنا يحيى بن يحيى قال قرأت على مالك عن سعيد بن أبي سعيد المقبري عن أبيه
أن رسول الله ﷺ قال لا يحل لامرأة تؤمن بالله واليوم الآخر تسافر مسيرة يوم وليلة إلا مع ذي محرم عليها