'Abdullah bin 'Umar (RA) (Allah -be pleased with them) reported Allah's Apostle (ﷺ) as saying: It is not lawful for a woman who believes in Allah and the Hereafter to travel for more than three nights journey except when there is a Mahram with her.
Hadith ReferenceSahih Muslim / The Book of Pilgrimage / Hadith: 1338