Miqdam Abu Karima reported,

The Messenger of Allah ﷺ said, "Whoever leaves behind dependents in need, they are the responsibility of Allah and His Messenger." And sometimes he said, "they are our responsibility. Whoever leaves behind wealth, it belongs to his heir. The maternal uncle is the heir of one who has no heir, and I am the heir of one who has no heir. I inherit from him and pay blood-money on his behalf."

Ahmad 17175

Sahih

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

عن المقدام أبي كريمة

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

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