Riyad as-Salihin, Book 7, Hadith 938 (In-Book)

Abu Hurairah (May Allah be pleased with him) reported: The Prophet supplicated in course of funeral prayer: "Allahumma Anta Rabbuha, wa Anta khalaqtaha, wa Anta hadaytaha lil-Islam, wa Anta qabadta ruhaha, wa Anta a'lamu bisirriha wa 'alaniyyatiha, ji'naka shufa'a'a lahu [if the dead person is a man, or laha if the dead person is a woman], faghfir lahu [or laha, if it is a woman] (O Allah, You are its Rubb; You created it; You guided it to Islam; You have taken its life back and You know best its insight and outer condition. We have come as intercessors, so forgive him)."[Abu Dawud].

وعنه عن النبي صلى الله عليه وسلم الله عليه وسلمى الله عليه وسلم الله عليه وسلم في الصلاة علي الجنازة‏:‏ “اللهم أنت ربها، وأنت خلقتها، وأنت هديتها للإسلام، وأنت قبضت روحها، وأنت أعلم بسرها وعلانيتها، جئناك شفعاء له، فاغفر له” ‏(‏‏(‏رواه أبو داود‏)‏‏)‏‏.‏

sunnah.com