The Book of the Rules of Inheritance
كتاب الفرائض
Chapter 4: Whoever Leaves Behind Wealth, It Is For His Heirs
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.
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.