It is forbidden for a Muslim woman to travel on a journey which lasts for more than 24 hours, unless she is in the company of a mahram. It is the role of her mahram to ensure that her safety, honour and welfare are protected.
Muslim reported that the Prophet (saw) said, “It is not allowed for a woman to travel for a day without a mahram.”