Asma bint Yazid reported,

The Messenger of Allah ﷺ was called to the funeral of a man from the Ansar. When the bier was placed down, the Prophet of Allah ﷺ stepped forward to pray over him, then he turned and asked, "Does your companion have any debt?"They replied, "Yes, Messenger of Allah, two Dinars."He said, "Pray over your companion yourselves."Abu Qatada said, "I will take on his debt, Prophet of Allah."So he prayed over him.

Azami 3750

Hasan

عن أسماء بنت يزيد قالت

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

الأعظمي 3750حسن
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 3750 (2nd edition)
Azami 3750