صحيح البخاري Sahih Bukhari كتاب الجنائز The Book of Al-Janaiz (Funerals)
بَابُ مَنْ يَدْخُلُ قَبْرَ الْمَرْأَةِ:

(71) Chapter. Who may get down in the grave of a woman.

1 hadith
Hadith 1342
حَدَّثَنَا مُحَمَّدُ بْنُ سِنَانٍ ، حَدَّثَنَا فُلَيْحُ بْنُ سُلَيْمَانَ ، حَدَّثَنَا هِلَالُ بْنُ عَلِيٍّ ، عَنْ أَنَسٍ رَضِيَ اللَّهُ عَنْهُ , قَالَ : " شَهِدْنَا بِنْتَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَرَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ جَالِسٌ عَلَى الْقَبْرِ ، فَرَأَيْتُ عَيْنَيْهِ تَدْمَعَانِ , فَقَالَ : هَلْ فِيكُمْ مِنْ أَحَدٍ لَمْ يُقَارِفْ اللَّيْلَةَ ؟ , فَقَالَ أَبُو طَلْحَةَ: أَنَا ، قَالَ : فَانْزِلْ فِي قَبْرِهَا , فَنَزَلَ فِي قَبْرِهَا فَقَبَرَهَا " ، قَالَ ابْنُ مُبَارَكٍ : قَالَ فُلَيْحٌ : أُرَاهُ يَعْنِي : الذَّنْبَ ، قَالَ أَبُو عَبْد اللَّهِ : لِيَقْتَرِفُوا أَيْ لِيَكْتَسِبُوا .
Narrated Anas: We were in the funeral procession of the daughter of Allah's Apostle and Allah's Apostle 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.
Hadith Reference Sahih Bukhari / The Book of Al-Janaiz (Funerals) / Hadith: 1342
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة