Sayyiduna Ibn Umar (may Allah be pleased with them both) says: The Messenger of Allah (peace and blessings be upon him) said: "If people knew what (danger) lies in being alone, no one would travel alone by night."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13282