كتاب الإمارة
33  
The Book on Government
(56)
Chapter: It is disliked to enter at night when coming home from a journey
(56)
باب كَرَاهَةِ الطُّرُوقِ وَهُوَ الدُّخُولُ لَيْلاً لِمَنْ وَرَدَ مِنْ سَفَرٍ ‏‏
Sahih Muslim 715 z

It has been narrated (through a different chain of tranmitters) on the authority of Jabir who said:

The Messenger of Allah (ﷺ) forbade that a man who had long absent should come to his family like (an unexpected) night visitor.
وَحَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا مُحَمَّدٌ، - يَعْنِي ابْنَ جَعْفَرٍ - حَدَّثَنَا شُعْبَةُ، عَنْ عَاصِمٍ، عَنِ الشَّعْبِيِّ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، قَالَ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم إِذَا أَطَالَ الرَّجُلُ الْغَيْبَةَ أَنْ يَأْتِيَ أَهْلَهُ طُرُوقًا ‏.‏
Reference : Sahih Muslim 715z
In-book reference : Book 33, Hadith 262
USC-MSA web (English) reference : Book 20, Hadith 4730
  (deprecated numbering scheme)