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)
عَنِ الْمِقْدَامِ صَاحِبِ رَسُولِ اللهِ ﷺ عَنِ النَّبِيِّ ﷺ قَالَ مَنْ تَرَكَ كَلًّا فَإِلَيْنَا وَرُبَّمَا قَالَ إِلَى اللهِ وَرَسُولِهِ وَمَنْ تَرَكَ مَالًا فَلِوَرَثَتِهِ وَأَنَا وَارِثُ مَنْ لَا وَارِثَ لَهُ أَعْقِلُ عَنْهُ وَأَرِثُهُ وَالْخَالُ وَارِثُ مَنْ لَا وَارِثَ لَهُ يَعْقِلُ عَنْهُ وَيَرِثُهُ