Abu Hurairah (RA) reported Allah's Apostle (ﷺ) as saying: It is not lawful for a woman who believes in Allah and the Hereafter to undertake a day's journey except in the company of a Mahram.
Hadith ReferenceSahih Muslim / The Book of Pilgrimage / Hadith: 1339