Sayyiduna Ibn Umar (may Allah be pleased with them both) narrates that the Prophet of Allah (peace and blessings be upon him) said: "If people knew the harms of traveling alone that I know, then no rider would ever travel alone at night."
Hadith Referenceصحيح ابن خزيمه / كتاب: المناسك / 2569