Miqdam reported,

A companion of the Prophet ﷺ reported that the Prophet ﷺ said, "Whoever leaves behind dependents in need, they are my responsibility." Sometimes he said, "They are the responsibility of Allah and His Messenger. Whoever leaves behind wealth, it belongs to his heirs. I am the heir of one who has no heir, paying his blood-money and inheriting from him. The maternal uncle is the heir of one who has no heir, paying his blood-money and inheriting from him."

Ahmad 17204

Sahih

حدثنا عفان قال حدثنا شعبة قال بديل العقيلي أخبرني قال سمعت علي بن أبي طلحة يحدث عن راشد بن سعد عن أبي عامر الهوزني

عن المقدام

من أصحاب النبي ﷺ عن النبي ﷺ قال من ترك كلا فإلي قال وربما قال إلى الله وإلى رسوله ومن ترك مالا فلورثته وأنا وارث من لا وارث له أعقل عنه وأرثه والخال وارث من لا وارث له يعقل عنه ويرثه

أحمد 17204صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Muqaddam bin Maadi Kareeb Kindi, Abu Karima
Numbering
Darussalam 17204
Ahmad 17204