Abu Hurairah (RA) reported Allah's Apostle (ﷺ) 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).
Hadith ReferenceSahih Muslim / The Book of the Rules of Inheritance / Hadith: 1619