Sayyidah Asma bint Yazid (may Allah be pleased with her) said: The Messenger of Allah (peace and blessings be upon him) was called to the funeral of a man from the Ansar. When the bier was set down, the Prophet of Allah (peace and blessings be upon him) stepped forward to lead the prayer over him, then turned around and said: "Does your companion owe a debt?" They said: Yes, O Messenger of Allah, two dinars. He (peace and blessings be upon him) said: "Pray over your companion yourselves." At this Abu Qatadah (may Allah be pleased with him) said: O Prophet of Allah, I will pay his debt. So he (peace and blessings be upon him) led the prayer over him.
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 20837