English translation
5371. Narrated Abū Hurairah رَضِيَ اللَّهُ عَنْهُ: A dead man in debt used to be brought to Allāh's Messenger ﷺ, who would ask, "Has he left anything to repay his debts?" If he was informed that he had left something to cover his debts, the Prophet ﷺ would offer the funeral Ṣalāt (prayer) for him; otherwise he would say to the Muslims (present there), "Offer the funeral Ṣalāt (prayer) for your friend"; but when Allāh (enriched) the Prophet ﷺ by making him victorious (in his Holy-expeditions), he said, "I am closer to the believers than themselves, so, if one of the believers dies in debt, I will repay it, but if he leaves wealth, it will be for his heirs."
