مِشْكَاةُ الْمَصَابِيحِ
Mishkat al-Masabih 1688
Funerals
Walking at a Funeral and Prayer over the Dead - Section 3
وَعَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي الصَّلَاةِ عَلَى الْجَنَازَةِ: " اللَّهُمَّ أَنْتَ رَبُّهَا وَأَنْتَ خَلَقْتَهَا وَأَنْتَ هَدَيْتَهَا إِلَى الْإِسْلَامِ وَأَنْتَ قَبَضْتَ رُوحَهَا وَأَنْتَ أَعْلَمُ بِسِرِّهَا وَعَلَانِيَتِهَا جِئْنَا شُفَعَاءَ فَاغْفِرْ لَهُ. رَوَاهُ أَبُو دَاوُد
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.
Mishkat al-Masabih, 1688ضَعِيفٌ (الألباني)