Hadith 985
Jabir (May Allah be pleased with him) reported:
عن جابر رضي الله عنه أن رسول الله صلى الله عليه وسلم قال: "إذا أطال أحدكم الغيبة فلا يطرقن أهله ليلاً" وفي رواية أن رسول الله صلى الله عليه وسلم نهى أن يطرق الرجل أهله ليلاً. ((متفق عليه))
The Messenger of Allah (ﷺ) said, "When one of you stays away (from his family) for a long period of time, let him not surprise his family by night." In another narration, Jabir (May Allah be pleased with him) said: The Messenger of Allah (ﷺ) prohibited us from coming back to our family at night. [Al-Bukhari and Muslim].
In plain words
After a long absence the Prophet discouraged a traveller from surprising his family by arriving unannounced at night.
Reference : Riyad as-Salihin 985 In-book reference : Book 7, Hadith 30