We were on a military expedition when the Messenger of Allah ﷺ said, "Do not come to your wives at night unannounced," and he sent someone to inform the people that they would arrive in the morning.
كنا في غزوة، فقال رسول الله ﷺ: لا تطرقوا النساء، وأرسل من يؤذن الناس أنهم قادمون الغداة.
No references are available.
Ibn Khuzayma narrated it, as found in Ithaf Mahra (9/249), and Abu Awana in his Musnad (7536), and Bayhaqi in Kubra (9/174), all of them through the route of Ibn Wahb, who said, Umar bin Muhammad bin Zayd narrated to me, from Nafi, from Abdullah bin Umar, who said, and then he mentioned it. Its chain is sahih. Umar bin Muhammad bin Zayd is the son of Abdullah bin Umar bin Khattab, the Madinan. Ibn Main, Abu Dawud, and others declared him trustworthy. In Abu Awana's version, "Umar bin Muhammad" was corrupted to "Amr bin Muhammad," so take note.The hadith has other routes, none of which is free of criticism.What is reported from Abdullah bin Abbas, from the Prophet ﷺ, that he said, "Do not come upon women unexpectedly at night," is not sahih. Bazzar narrated it, Kashf Astar (1487), from Muhammad bin Muthanna, who said, Abu Amir narrated to us, who said, Zama narrated to us, from Salama bin Wahram, from Ikrima, from Ibn Abbas, and then he mentioned it. In it is Zama bin Salih, who is daif. Haythami identified this as its defect in Majma (4/330), after attributing it to Tabarani and Bazzar in abridged form, saying, "Salih bin Muawiya is daif, though he has been declared trustworthy, and Salama bin Wahram, whom Zama narrated from, has narrated objectionable hadiths."Darimi (458) also narrated it through this route, and in it appears, the Messenger of Allah ﷺ returned from a journey, and two men slipped away to their wives, and each of them found another man with his wife.On this subject there is also what is reported from Saeed bin Musayab as a mursal narration. Darimi (459) narrated it.