Narrated Abu Huraira:
The Prophet ﷺ said, "There is no believer but I, of all the people, I am the closest to him both in this world and in the Hereafter. Recite if you wish: 'The Prophet is closer to the believers than their own selves.' (33.6) so if a believer (dies) leaves some property then his relatives will inherit that property;
but if he is in debt or he leaves poor children, let those (creditors and children) come to me (that I may pay the debt and provide for the children), for them I am his sponsor (surely).
• Sahih al-Bukhari, Vol. 6, Book of Prophetic Commentary on the Qur'an, Hadith 304
• Sahih al-Bukhari, Book of Prophetic Commentary on the Qur'an, Hadith 304