The Messenger of Allah ﷺ disliked that a man should come to his family unannounced at night.
حدثنا حفص بن عمر ومسلم بن إبراهيم قالا حدثنا شعبة عن محارب بن دثار
كان رسول الله ﷺ يكره أن يأتي الرجل أهله طروقا
Or betrays them.SourcingBukhari also recorded it, in the Book of Marriage, chapter "A man should not come to his family at night after a long absence, lest he seek out their faults," hadith no. 5243.And Muslim, in the Book of Leadership, chapter "The dislike of returning home unexpectedly at night... etc.," hadith no. 715, after no. 1928.From the hadith of Shubah, through the same chain.