It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) forbade (a traveler) from returning home at night without prior notice, lest a person suspect them of betrayal or search for their faults.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14232