حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا شَبَابَةُ، ح وَحَدَّثَنَا مُحَمَّدُ بْنُ الْوَلِيدِ، حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، قَالاَ حَدَّثَنَا شُعْبَةُ، حَدَّثَنِي بُدَيْلُ بْنُ مَيْسَرَةَ الْعُقَيْلِيُّ، عَنْ عَلِيِّ بْنِ أَبِي طَلْحَةَ، عَنْ رَاشِدِ بْنِ سَعْدٍ، عَنْ أَبِي عَامِرٍ الْهَوْزَنِيِّ، عَنِ الْمِقْدَامِ أَبِي كَرِيمَةَ، - رَجُلٌ مِنْ أَهْلِ الشَّامِ مِنْ أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ - قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مَنْ تَرَكَ مَالاً فَلِوَرَثَتِهِ وَمَنْ تَرَكَ كَلاًّ فَإِلَيْنَا - وَرُبَّمَا قَالَ فَإِلَى اللَّهِ وَإِلَى رَسُولِهِ - وَأَنَا وَارِثُ مَنْ لاَ وَارِثَ لَهُ أَعْقِلُ عَنْهُ وَأَرِثُهُ وَالْخَالُ وَارِثُ مَنْ لاَ وَارِثَ لَهُ يَعْقِلُ عَنْهُ وَيَرِثُهُ ‏"‏ ‏.‏

It wasnarrated from Miqdam Abu Karimah, a man from Sham who was oneof theCompanions of the Messenger of Allah (PBUH), that the MessengerofAllah (PBUH) said: “Whoever leaves behind wealth, it is for hisheirs. Whoever leaves behind poor dependents and a debt, it is for usto take care of – or he said: ‘It is for Allah and His Messenger(totake care of) – I am the heir of the one who has no heir, Iwill paythe blood money on his behalf and inherit from him. And thematernaluncle is the heir of the one who has no heir, he pays bloodmoney onhis behalf and inherits from him.” Translation Not Available

Book Ref: Sunan Ibn Majah Book 23 Hadith 2738
Web Ref:  Sunan Ibn Majah Vol 4 Book 23 Hadith 2738