Abu Hurairah reported,

He narrated from the Messenger of Allah ﷺ, mentioning a number of hadith, among them that the Messenger of Allah ﷺ said, "I am the closest of people to the believers according to the Book of Allah عز وجل. So whichever of you leaves behind a debt or dependents in need, call on me, for I am his guardian. And whichever of you leaves behind wealth, let him give preference with his wealth to his kinsmen, whoever they may be."

Muslim 4160

Sahih

حدثنا محمد بن رافع حدثنا عبد الرزاق أخبرنا معمر عن همام بن منبه قال هذا ما

حدثنا أبو هريرة

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

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