The Prophet (ﷺ) said, "A woman should not travel for more than three days except with a Dhi-Mahram."
Sahih al-Bukhari Book 18, Hadith 8