The Prophet ﷺ said: If anyone leaves a debt or a helpless family I shall be responsible-and sometimes the narrator said: Allah and His Apostle will be responsible-but if anyone leaves property, it goes to his heirs. I am the heirs of him who has none, paying blood-wit for him and inheriting from him; and a maternal uncle is the heir of him who has none, paying blood-wit for him and inheriting from him. (Using translation from Abū Dāʾūd 2899)
عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ قَالَ مَنْ تَرَكَ كَلًّا فَإِلَى اللهِ وَرَسُولِهِ وَرُبَّمَا قَالَ فَإِلَيْنَا وَمَنْ تَرَكَ مَالًا فَلِوَارِثِهِ وَالْخَالُ وَارِثُ مَنْ لَا وَارِثَ لَهُ وَأَنَا وَارِثُ مَنْ لَاوَارِثَ لَهُ أَرِثُهُ وَأَعْقِلُ عَنْهُ