Sahih al-Bukhari 1342
صحيح البخاري#1342SahihNarrated Anas:We were in the funeral procession of the daughter of Allah's Messenger (ﷺ) and Allah's Messenger (ﷺ) was sitting near the grave and I saw his eyes full of tears. He said, "Is there anyone amongst you who did not have sexual relations with his wife last night?" Abu Talha replied in the affirmative. And so Allah's Apostle told him to get down in her grave and he got down in her grave and buried her
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 23:97