Narrated Jabir ibn Abdullah: The Messenger of Allah ﷺ would not say funeral prayer over a person who died while the debt was due from him. A dead Muslim was brought to him and he asked: Is there any debt due from him? They (the people) said: Yes, two dirhams. He said: Pray yourselves over your companion. Then Abu Qatadah al-Ansari said: I shall pay them, Messenger of Allah. The Messenger of Allah ﷺ then prayed over him. When Allah granted conquests to the Messenger of Allah ﷺ, he said: I am nearer to every believer than himself, so if anyone (dies and) leaves a debt, I shall be responsible for paying it; and if anyone leaves property, it goes to his heirs.
Hadith Referenceسنن ابي داود / كتاب البيوع / 3343
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:صحيح, وللحديث شواھد عند أحمد (3/330) والحاكم (2/57، 58) وغيرھما، انظر الحديث السابق (2954)
Hadith Takhrij« سنن النسائی/الجنائز 67 (1964)، (تحفة الأشراف: 3158)، وقد أخرجہ: مسند احمد (3/296) (صحیح) »
Narrated Jabir (RA): A man from among us died, so we washed, embalmed and shrouded him. We then brought him to Allah's Messenger (ﷺ) and asked him to pray over him. He went forward some steps and then asked, "Does he have any debt against him?" We replied, "Two Dinars." He turned away, but Abu Qatada (RA) took upon himself the bearing of them. We then came to him (again) (ﷺ) and Abu Qatada (RA) said: "I shall discharge the two Dinars." Allah's Messenger (ﷺ) thereupon said, "[Will you be responsible for paying them as] a right to the creditor; and the dead man will then be free from them?" He replied, "Yes." So, he prayed over him. [Reported by Ahmad, Abu Dawud, and an-Nasa'i. Ibn Hibban and al-Hakim graded it Sahih (authentic)].