Sahih al-Bukhari, Book 56, Hadith 207 (Bukhari 2876)

Narrated 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."