Hadith 5.3
Funerals
Abu Huraira reported the Prophet (ﷺ) as saying in the course of prayer over a dead body, “O God, You are its Lord, You didst create it, You didst guide it to Islam, You have taken its spirit, and You knowest best its inner nature and outer aspect. We have come as intercessors, so forgive him.” Abu Dawud transmitted it.
وَعَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي الصَّلَاةِ عَلَى الْجَنَازَةِ: " اللَّهُمَّ أَنْتَ رَبُّهَا وَأَنْتَ خَلَقْتَهَا وَأَنْتَ هَدَيْتَهَا إِلَى الْإِسْلَامِ وَأَنْتَ قَبَضْتَ رُوحَهَا وَأَنْتَ أَعْلَمُ بِسِرِّهَا وَعَلَانِيَتِهَا جِئْنَا شُفَعَاءَ فَاغْفِرْ لَهُ. رَوَاهُ أَبُو دَاوُد
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.