Sahih Muslim #715 z
The Book on Government 33:262
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.