Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:2554ʿAbd al-Razzāq > Sufyān > Sulaymān al-Shaybānī > al-Shaʿbī > Ibn ʿAbbās

[Machine] That the Messenger of Allah ﷺ offered prayers over a funeral after it was buried. And Waki' reported, Sufyan narrated the same.  

أحمد:٢٥٥٤حَدَّثَنَا عَبْدُ الرَّزَّاقِ قَالَ أَخْبَرَنَا سُفْيَانُ عَنْ سُلَيْمَانَ الشَّيْبَانِيِّ عَنِ الشَّعْبِيِّ عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللهِ ﷺ صَلَّى عَلَى جِنَازَةٍ بَعْدَ مَا دُفِنَتْ وَوَكِيعٌ قَالَ حَدَّثَنَا سُفْيَانُ مِثْلَهُ