(11) باب الصَّلاَةِ عَلَى مَنْ تَرَكَ دَيْنًا
Narrated Abu Huraira:
The Prophet (ﷺ) said, "I am closer to the believers than their selves in this world and in the Hereafter, and if you like, you can read Allah's Statement: "The Prophet (ﷺ) is closer to the believers than their own selves." (33.6) So, if a true believer dies and leaves behind some property, it will be for his inheritors (from the father's side), and if he leaves behind some debt to be paid or needy offspring, then they should come to me as I am the guardian of the deceased."
Reference: Sahih al-Bukhari 2399
In-book reference: Book 43, Hadith 15
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 41, Hadith 584