Abu Umama reported,

A man died during the time of the Messenger of Allah ﷺ, and no shroud could be found for him. They came to the Prophet ﷺ, who said, "Look inside the fold of his lower garment."A Dinar, or two Dinars, was found there.He said, "Two cauterizations. Pray over your companion yourselves."A man said, "I will take responsibility for paying them, Messenger of Allah."So he prayed over him.

Azami 3748

Hasan

عن أبي أمامة قال

توفي رجل على عهد رسول الله ﷺ فلم يوجد له كفن فأتوا النبي ﷺ فقال: انظروا إلى داخلة إزاره فأصيب دينار، أو ديناران فقال: كيتان صلوا على صاحبكم فقال رجل: إلى قضاؤها يا رسول الله، فصلى عليه.

الأعظمي 3748حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prayer over the deceased
Section
Imam should not pray over one who has debt until it is paid off on his behalf
Numbering
Jami al-Kamil 3748 (2nd edition)
Azami 3748