Ash-Shama'il Al-Muhammadiyah, Book 44, Hadith 310 (English)

Anas Radiyallahu 'Anhu reports: "Rasulullah Sallallahu 'Alayhi Wasallam was sitting at the grave of his daughter (Sayyiditina Ummi Kulthum Radiyallahu 'Anha) and tears were flowing from his eyes. Sayyidina Rasulullah Sallallahu 'Alayhi Wasallam said: 'That person should enter the grave who did not have sexual relations that (previous) night'. Abu Talhah Radiyallahu 'Anhu replied: 'I did not'. At the request of Rasulullah Sallallahu 'Alayhi Wasallam he entered her grave"

حَدَّثَنَا إِسْحَاقُ بْنُ مَنْصُورٍ، قَالَ‏:‏ أَخْبَرَنَا أَبُو عَامِرٍ، قَالَ‏:‏ حَدَّثَنَا فُلَيْحٌ وَهُوَ ابْنُ سُلَيْمَانَ، عَنْ هِلالِ بْنِ عَلِيٍّ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ‏:‏ شَهِدْنَا ابْنَةً لِرَسُولِ اللهِ صلى الله عليه وسلم، وَرَسُولُ اللهِ جَالِسٌ عَلَى الْقَبْرِ، فَرَأَيْتُ عَيْيَنْهِ تَدمَعَانِ، فَقَالَ‏:‏ أَفِيكُمْ رَجُلٌ لَمْ يُقَارِفِ اللَّيْلَةَ‏؟‏، قَالَ أَبُو طَلْحَةَ‏:‏ أَنَا، قَالَ‏:‏ انْزِلْ فَنَزَلَ فِي قَبْرِهَا‏.‏

also referenced under: Book 45, Hadith 327 (In-Book)