Abu Hurairah (RA) reported Allah's Messenger (ﷺ) as saying: It is not lawful for a woman believing in Allah and the Hereafter to undertake journey extending over a day and a night except when there is a Mahram with her.
Hadith ReferenceSahih Muslim / The Book of Pilgrimage / Hadith: 1339