Miqdam reported,

The Messenger of Allah ﷺ said, "I am the heir of one who has no heir. I pay the blood-money on his behalf and inherit from him. And the maternal uncle is the heir of one who has no heir. He pays the blood-money on his behalf and inherits from him."

Ibn Majah 2634

Sahih

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

عن المقدام الشامي قال

قال رسول الله ﷺ أنا وارث من لا وارث له أعقل عنه وأرثه والخال وارث من لا وارث له يعقل عنه ويرثه

ابن ماجه 2634صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Blood money
Chapter
Diya is upon the aqilah, and if he has no aqilah then it is from the public treasury
Numbering
Darussalam 2634
Ibn Majah 2634