(4) باب مَنْ تَرَكَ مَالاً فَلِوَرَثَتِهِ
Abu Huraira (Allah be pleased with him) 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).
Reference: Sahih Muslim 1619 e
In-book reference: Book 23, Hadith 22
USC-MSA web (English) reference(deprecated numbering scheme): Book 11, Hadith 3948