(74) باب سَفَرِ الْمَرْأَةِ مَعَ مَحْرَمٍ إِلَى حَجٍّ وَغَيْرِهِ
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 reference: Book 15, Hadith 472
USC-MSA web (English) reference(deprecated numbering scheme): Book 7, Hadith 3106