It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he said: "We used to recite this supplication in the funeral prayer: 'Allahumma anta rabbuna wa rabbuhu, khalaqtahu wa razaqtahu, ahyaytahu wa kafaytahu, ighfir lana wa lahu, wa la tahrimna ajrahu, wa la tudillana ba'dahu' (O Allah! You alone are our Lord and his Lord; You created him and provided for him; You gave him life and took care of him; so forgive us and him, do not deprive us of his reward, and do not lead us astray after him)."
Imam Musaddad and Imam al-Bazzar recorded it; however, their chain contains a narrator named Zayd al-Ammi, who is da'if (weak).