Sahih al-Bukhari 2398
Sahih al-Bukhari · Book 43: Loans, Payment of Loans, Freezing of Property, Bankruptcy · The funeral Salat (prayer) for a dead person in debt
Narrated Abu Huraira:
حَدَّثَنَا أَبُو الْوَلِيدِ ، حَدَّثَنَا شُعْبَةُ ، عَنْ عَدِيِّ بْنِ ثَابِتٍ ، عَنْ أَبِي حَازِمٍ ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " مَنْ تَرَكَ مَالاً فَلِوَرَثَتِهِ، وَمَنْ تَرَكَ كَلاًّ فَإِلَيْنَا " .
The Prophet (ﷺ) said, "If someone leaves some property, it will be for the inheritors, and if he leaves some weak offspring, it will be for us to support them."