(74) باب سَفَرِ الْمَرْأَةِ مَعَ مَحْرَمٍ إِلَى حَجٍّ وَغَيْرِهِ
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.
Reference: Sahih Muslim 1339 d
In-book reference: Book 15, Hadith 473
USC-MSA web (English) reference(deprecated numbering scheme): Book 7, Hadith 3107