Abu Hurairah reported,

The Prophet ﷺ said, "By the One in whose hand is Muhammad's soul, there is no believer on earth to whom I am not closer than anyone else. Whichever of you leaves behind a debt or dependents, I am his guardian. And whichever of you leaves behind wealth, it goes to his paternal relatives, whoever they may be."

Muslim 4159

Sahih

حدثني محمد بن رافع حدثنا شبابة قال حدثني ورقاء عن أبي الزناد عن الأعرج

عن أبي هريرة

عن النبي ﷺ قال والذي نفس محمد بيده إن على الأرض من مؤمن إلا أنا أولى الناس به فأيكم ما ترك دينا أو ضياعا فأنا مولاه وأيكم ترك مالا فإلى العصبة من كان

مسلم 4159صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Obligatory duties
Chapter
Whoever leaves wealth, it is for his heirs
Numbering
Darussalam 4159
Muslim 4159