Sahih Muslim | Book 11 | Chapter 4

Narrated by Abu Huraira (Allah be pleased with him)
Abu Huraira (Allah be pleased with him) reported that when the body of a dead person having burden of debt upon him was brought to Allah's Messenger(may peace be upon him) he would ask whether he had left property enough to clear off his debt, and if the property left had been sufficient for that (purpose), he observed funeral prayer for him, otherwise he said (to his companions): You observe prayer for your companion. But when Allah opened the gateways of victory for him, he said: I am nearer to the believers than themselves, so if anyone dies leaving a debt, its payment is my responsibility, and if anyone leaves a property, it goes to his heirs.

Narrated by al-Zuhri
This hadith has been narrated on the authority of al-Zuhri through another chain of transmitters.

Narrated by Abn Huraira (Allah be pleased with him)
Abn Huraira (Allah be pleased with him) reported Allah's Apostle (may peace be upon him) having said this: By Him in Whose Hand is the life of Muhammad, there is no believer on the earth with whom I am not the nearest among all the people. He who amongst you (dies) and leaves a debt, I am there to pay it, and he who amongst you (dies) leaving behind children I am there to look after them. And he who amongst You leaves behind property, that is for the inheritor whoever he is.

Narrated by Hammam b. Munabbih
Hammam b. Munabbih reported: This is what Abu Huraira (Allah be pleased with him) narrated to us from Allah's Messenger (may peace he upon him). And he narrated many ahadith, and one was this: Allah's Messenger (may peace be upon him said: I am, according to the Book of Allah, the Exalted and Majestic, nearest to the believers of all the human beings. So whoever amongst you dies in debt or leaves behind destitute children, you should call me (for help)), for I am his guardian. And who amongst you leaves property, his inheritor is entitled to get it, whoever he is.

Narrated by Shu'ba
Abu Huraira (Allah be pleased with him) reported Allah's Apostle (may peace be upon him) as saying: He who leaves property, that is for the inheritors; and he who leaves behind destitute children, then it is my responsibility (to look after them). This hadith has been narrated on the authority of Shu'ba with the same chain of transmitters.