´It was narrated that Ibn Khaldah, who was a judge in Al-Madinah, said:` We came to Abu Hurairah and asked him about a companion of ours who had become bankrupt. He said: “This is what the Prophet (ﷺ) ruled: 'Any man who dies or becomes bankrupt, the owner of the product has more right to it, if he finds the exact thing.”
Hadith Referenceسنن ابن ماجه / كتاب الأحكام / 2360
Hadith Gradingالألبانی:ضعيف | زبیر علی زئی:إسناده حسن
Hadith Takhrij« سنن ابی داود/البیوع 76 ( 3523 ) ، ( تحفة الأشراف : 14269 ) ( ضعیف ) » ( سند میں ابو المعتمر بن عمرو بن رافع مجہول ہیں )
´It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:` “Any man who dies and has the property of another man, whether he paid something towards it or not, (the owner of those goods) is like any other creditor.”
Maulana Ataullah Sajid
Benefits and Issues: (1) If the deceased had taken a cash loan from someone and passed away before using it, the person who gave this loan cannot claim that he should receive the entire amount in full, arguing that these are the exact same notes he had lent. Rather, this creditor is like any other creditor. If the other creditors receive their full loan amounts, then he too will receive his full loan. And if, due to the total amount of debt exceeding the estate, the other creditors are receiving less than their original loan amounts, then he too will be paid proportionally less. In this matter, the ruling for cash is not the same as for other goods, which, if present in their original form, the creditor may take back—as has been explained in the benefit 3(a) of Hadith: 2359.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 2361