Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:10136[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Muḥammad b. Yaʿqūb / al-Shaybānī > Yaḥyá b. Muḥammad b. Yaḥyá > Musaddad [Chain 2] Abū al-Faḍl b. Ibrāhīm > Aḥmad b. Salamah > Muḥammad b. Bashhār And Muḥammad b. al-Muthanná > Yaḥyá > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

[Machine] The Messenger of Allah ﷺ said, "A woman should not travel alone for three days except with a spouse or a mahram (a close male relative whom she is forbidden to marry)."  

البيهقي:١٠١٣٦أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنا مُحَمَّدُ بْنُ يَعْقُوبَ يَعْنِي الشَّيْبَانِيَّ ثنا يَحْيَى بْنُ مُحَمَّدِ بْنِ يَحْيَى ثنا مُسَدَّدٌ ح وَأنا أَبُو الْفَضْلِ بْنُ إِبْرَاهِيمَ ثنا أَحْمَدُ بْنُ سَلَمَةَ ثنا مُحَمَّدُ بْنُ بَشَّارٍ وَمُحَمَّدُ بْنُ الْمُثَنَّى قَالُوا ثنا يَحْيَى ثنا عُبَيْدُ اللهِ أَخْبَرَنِي نَافِعٌ عَنِ ابْنِ عُمَرَ قَالَ

قَالَ رَسُولُ اللهِ ﷺ لَا تُسَافِرِ الْمَرْأَةُ ثَلَاثًا إِلَّا وَمَعَهَا ذُو مَحْرَمٍ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ مُسَدَّدٍ وَرَوَاهُ مُسْلِمٌ عَنْ مُحَمَّدِ بْنِ الْمُثَنَّى

See similar narrations below:

Collected by Bayhaqī
bayhaqi:5405Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > Aḥmad b. Ḥanbal > Yaḥyá b. Saʿīd > ʿAbdullāh > Nāfiʿ > Ibn ʿUmar

[Machine] "Narrated by the Prophet ﷺ , he said: A woman should not travel a distance of three days except with a husband or a mahram (a male relative whom she is not allowed to marry)."  

البيهقي:٥٤٠٥أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا أَحْمَدُ بْنُ حَنْبَلٍ ثنا يَحْيَى بْنُ سَعِيدٍ عَنْ عَبْدِ اللهِ قَالَ حَدَّثَنِي نَافِعٌ عَنِ ابْنِ عُمَرَ

عَنِ النَّبِيِّ ﷺ قَالَ لَا تُسَافِرِ امْرَأَةٌ ثَلَاثًا إِلَّا وَمَعَهَا ذُوْ مَحْرَمٍ  

أَخْرَجَهُ الْبُخَارِيُّ وَمُسْلِمٌ فِي الصَّحِيحِ مِنْ حَدِيثِ يَحْيَى الْقَطَّانِ