Sahih Muslim , Book 33, Hadith 264 (In-Book)

It has been narrated (through a different chain of tranmitten) on the authority of Jabir who said: The Messenger of Allah forbade that a man should come to his family like (an unexpected) night visitor doubting their fidelity and spying into their lapses.

وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا وَكِيعٌ، عَنْ سُفْيَانَ، عَنْ مُحَارِبٍ، عَنْ جَابِرٍ، قَالَ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ يَطْرُقَ الرَّجُلُ أَهْلَهُ لَيْلاً يَتَخَوَّنُهُمْ أَوْ يَلْتَمِسُ عَثَرَاتِهِمْ ‏.‏

sunnah.com