It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said to him: When you enter the city at night after a long absence, do not go to your house without informing them.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 15265