Abu Huraira (Allah be pleased with him) 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.
Reference: Sahih Muslim 1339 c In-book : Book 15, Hadith 472 USC-MSA web (English) : Book 7, Hadith 3106 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.