Anas bin Malik reported,

We were present at the burial of the daughter of the Messenger of Allah ﷺ, 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 said that "so that they may commit" [Anam 6:113] means so that they may acquire.

Bukhari 1342

Sahih

حدثنا محمد بن سنان حدثنا فليح بن سليمان حدثنا هلال بن علي

عن أنس رضي الله عنه قال

شهدنا بنت رسول الله ﷺ ورسول الله ﷺ جالس على القبر فرأيت عينيه تدمعان فقال هل فيكم من أحد لم يقارف الليلة فقال أبو طلحة أنا قال فانزل في قبرها فنزل في قبرها فقبرها قال ابن مبارك قال فليح أراه يعني الذنب قال أبو عبد الله {ليقترفوا} أي ليكتسبوا

البخاري 1342صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Funerals
Chapter
Who enters the grave of a woman
Numbering
Darussalam 1342
Bukhari 1342