We attended the funeral of the Messenger of Allah's ﷺ daughter, and the Messenger of Allah ﷺ was sitting by the grave. I saw his eyes filling with tears.He asked, "Is there any man among you who did not approach his wife last night?"Abu Talha said, "I did not."The Prophet said, "Then go down into her grave."So he went down into her grave and buried her.Ibn Mubarak reported that Fulayh said, "I think he meant sin."Abu Abdullah (Bukhari) said, regarding "that they may commit" [Anam 6:113], it means that they may earn.
شهدنا بنت رسول الله ﷺ، ورسول الله ﷺ جالس على القبر، فرأيت عينيه تدمعان، فقال: هل فيكم من أحد لم يقارف الليلة؟ فقال أبو طلحة: أنا، قال: فأنزل في قبرها فنزل في قبرها فقبرها. قال ابن المبارك، قال فليح: أراه يعني الذنب. قال أبو عبد الله (البخاري) {ليقترفوا} أي ليكتسبوا.
Bukhari related it in the Book of Funerals (1342) from Muhammad bin Sinan, who said, Fulayh bin Sulayman narrated to us, who said, Hilal bin Ali narrated to us, from Anas, and he mentioned it. And via the route of Fulayh, Imam Ahmad related it (12275).It has been established in the sahih narrations that the daughter of the Prophet ﷺ in question was Umm Kulthum, the wife of Uthman, and that Uthman withdrew from descending into the grave because he had had relations with one of his slave-girls that night.As for what Hammad bin Salama related, from Thabit, from Anas, that when Ruqayyah died, the Messenger of Allah ﷺ said, "No man who has had relations with his wife shall enter the grave," so Uthman bin Affan did not enter the grave, this narration named her as Ruqayyah, the daughter of the Prophet ﷺ, which is a mistake on his part. Imam Ahmad related it by this route as well (13398), and so did Hakim (4/47), who said, "Sahih according to the standard of Muslim." I say, the correct view is that there is an error in it made by Hammad bin Salama, for Ruqayyah, the daughter of the Prophet ﷺ, died while the Prophet ﷺ was at Badr and did not witness her death, as Bukhari and others have said. So the sahih view is that the one who died was Umm Kulthum, as is established in the historical narrations. Thus Haythami's statement in Majma (3/43), "Ahmad related it, and its men are the men of sahih," does not necessitate that the hadith itself is sahih, so take note.Likewise, what is related from Amir (that is, Shaybi) is not sound, where he said, the Messenger of Allah ﷺ was washed by Ali, Fadl, and Usama bin Zayd, and they were the ones who placed him in his grave. He said, and Marhab, or Abu Marhab, told me that they brought Abdul-Rahman bin Awf in with them, and when Ali finished, he said, "It is only right that a man's family should attend to him." This is a mursal report. Abu Dawud related it (3209) from Ahmad bin Yunus, who said, Zuhayr narrated to us, who said, Ismail bin Abu Khalid narrated to us, from Amir, and he mentioned it.In another version, from Muhammad bin Sabbah, who said, Sufyan informed us, from Ibn Abu Khalid, from Shaybi, from Abu Marhab, that Abdul-Rahman bin Awf descended into the grave of the Prophet ﷺ, and he said, "It is as if I can see them, four in number." The companionship of Marhab, or Abu Marhab, is disputed, as Hafiz said in Taqrib.There is a sahih report from Abdul-Rahman bin Abza that Umar bin Khattab said the takbir four times over Zaynab bint Jahsh, then sent to the wives of the Prophet ﷺ asking, "Who should enter her grave?" They said, "Whoever used to visit her in her lifetime." In another version, Umar had wished to enter her grave himself, but when they said what they said, he said, "They have spoken truly." Bayhaqi related it (4/53) via the route of Shuba, from Ismail bin Khalid, from Shaybi, from Abdul-Rahman bin Abza, and he mentioned it.In the hadith of Anas there is evidence that men may undertake the burial of a woman even if they are unrelated to her, when there is a need for it, though it is preferable that her own relatives undertake this task. It also shows that a man who did not have relations with his wife that night has greater right to carry out the burial than one who did have relations with his wife, even if he is unrelated to her, for one who has recently been distant from worldly pleasures is further removed from thoughts of desire.