Abu Huraira (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:It is not lawful for a woman to undertake three (days, ) journey except when there is a Mahram with her
Hadith No. 3269
Sahih Muslim