Mishkat al-Masabih 1688
وَعَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي الصَّلَاةِ عَلَى الْجَنَازَةِ: اللَّهُمَّ أَنْتَ رَبُّهَا وَأَنْتَ خَلَقْتَهَا وَأَنْتَ هَدَيْتَهَا إِلَى الْإِسْلَامِ وَأَنْتَ قَبَضْتَ رُوحَهَا وَأَنْتَ أَعْلَمُ بِسِرِّهَا وَعَلَانِيَتِهَا جِئْنَا شُفَعَاءَ فَاغْفِرْ لَهُ. رَوَاهُ أَبُو دَاوُد
From Abu Hurayrah, from the Prophet ﷺ, regarding the prayer over a funeral: O Allah, You are its Lord, You created it, You guided it to Islam, You took its soul, and You know best its secret and its open [deeds]. We have come as intercessors, so forgive him. Reported by Abu Dawud.