Sayyiduna Abu Umamah (may Allah be pleased with him) said: A man died in the time of the Messenger of Allah (peace and blessings be upon him), and no shroud could be found for him. So the people came to the Prophet (peace and blessings be upon him), and he (peace and blessings be upon him) said: "Look inside his waist-wrapper." One or two dinars were found in it. He (peace and blessings be upon him) said: "(These are) two brands. Pray the funeral prayer over your companion." At this a man said: O Messenger of Allah, paying his debt is my responsibility. So he (peace and blessings be upon him) led the funeral prayer over him.
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7475