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.