Sahih Muslim 715 ab
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.
وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا وَكِيعٌ، عَنْ سُفْيَانَ، عَنْ مُحَارِبٍ، عَنْ جَابِرٍ،
 قَالَ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ يَطْرُقَ الرَّجُلُ أَهْلَهُ لَيْلاً يَتَخَوَّنُهُمْ أَوْ يَلْتَمِسُ
 عَثَرَاتِهِمْ ‏.‏