Ibn Umar (Allah be pleased with them) reported Messenger of Allah ﷺ as saying: A woman should not set out on three (days' journey) except when she has a Mahram with her.
حَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، وَمُحَمَّدُ بْنُ الْمُثَنَّى، قَالاَ حَدَّثَنَا يَحْيَى، - وَهُوَ الْقَطَّانُ - عَنْ عُبَيْدِ اللَّهِ، أَخْبَرَنِي نَافِعٌ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ
" لاَ تُسَافِرِ الْمَرْأَةُ ثَلاَثًا إِلاَّ وَمَعَهَا ذُو مَحْرَمٍ " .
• Sahih Muslim, 1338a
• Sahih Muslim, Vol. 3, Book of Pilgrimage, Hadith 3096
• Sahih Muslim, Book of Pilgrimage, Hadith 3096