كتاب الجنائز
5  
Funerals
(5c)
Chapter: Walking at a Funeral and Prayer over the Dead - Section 3
(5)
المشي بالجنازة والصلاة عليها - الفصل الثالث
Mishkat al-Masabih 1688
Abu Huraira reported the Prophet as saying in the course of prayer over a dead body, “O God, Thou art its Lord, Thou didst create it, Thou didst guide it to Islam, Thou hast taken its spirit, and Thou knowest best its inner nature and outer aspect. We have come as intercessors, so forgive him.” Abu Dawud transmitted it.
وَعَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي الصَّلَاةِ عَلَى الْجَنَازَةِ: " اللَّهُمَّ أَنْتَ رَبُّهَا وَأَنْتَ خَلَقْتَهَا وَأَنْتَ هَدَيْتَهَا إِلَى الْإِسْلَامِ وَأَنْتَ قَبَضْتَ رُوحَهَا وَأَنْتَ أَعْلَمُ بِسِرِّهَا وَعَلَانِيَتِهَا جِئْنَا شُفَعَاءَ فَاغْفِرْ لَهُ. رَوَاهُ أَبُو دَاوُد
  ضَعِيفٌ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 1688
In-book reference : Book 5, Hadith 161