It was narrated from Abu Sa’eed that the Messenger of Allah (ﷺ) said: “No woman should travel the distance of three days or more, unless she is with her father, brother, son, husband or a Mahram.”
It was narrated from Abu Hurairah that the Prophet (ﷺ) said: “It is not permissible for a woman who believes in Allah and the Last Day to travel for more than one day’s distance without a Mahram.”
It was narrated that Ibn ‘Abbas said: “A Bedouin came to the Prophet (ﷺ) and said: ‘I have enlisted for such and such a military campaign and my wife is going for Hajj.’ He said: ‘Go back with her.’”