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.
bukhari:2998Abū al-Walīd > ʿĀṣim b. Muḥammad from my father > Ibn ʿUmar

from the Prophet ﷺ the following Hadith (No. 242). Narrated Ibn ʿUmar: The Prophet ﷺ said, "If the people knew what I know about traveling alone, then nobody would travel alone at night."  

البخاري:٢٩٩٨حَدَّثَنَا أَبُو الْوَلِيدِ حَدَّثَنَا عَاصِمُ بْنُ مُحَمَّدٍ قَالَ حَدَّثَنِي أَبِي عَنِ ابْنِ عُمَرَ ؓ

عَنِ النَّبِيِّ ﷺ حَدَّثَنَا أَبُو نُعَيْمٍ حَدَّثَنَا عَاصِمُ بْنُ مُحَمَّدِ بْنِ زَيْدِ بْنِ عَبْدِ اللَّهِ بْنِ عُمَرَ عَنْ أَبِيهِ عَنِ ابْنِ عُمَرَ عَنِ النَّبِيِّ ﷺ قَالَ لَوْ يَعْلَمُ النَّاسُ مَا فِي الْوَحْدَةِ مَا أَعْلَمُ مَا سَارَ رَاكِبٌ بِلَيْلٍ وَحْدَهُ