Hadith 6:566
Abu Bakr narrated to us, he said: Muhammad ibn Fudayl narrated to us, from Yunus, he said: I asked Mujahid about the prayer over the deceased. Mujahid said: We are in it, so we say: "O Allah, You created him, and You guided him to Islam, and You took his soul, and You are most knowing of his secret and his public. We have come as intercessors, so intercede for him and forgive him."
حدثنا أبو بكر قال ثنا محمد بن فضيل عن يونس قال سألت مجاهدا عن الصلاة على الميت فقال مجاهد انا نحن فيه فنقول اللهم أنت خلقته وأنت هديته للإسلام وأنت قبضت روحه وأنت أعلم بسريرته وعلانيته جئنا شفعاء فاشفع له فاغفر له