Jabir bin Abdullah reported,

The Messenger of Allah ﷺ said, "Whoever leaves behind wealth, it belongs to his heirs. Whoever leaves behind a debt or dependents, their care falls upon me and is my responsibility, for I am closer to the believers than they are to themselves."

Ibn Majah 2416

Sahih

حدثنا علي بن محمد حدثنا وكيع حدثنا سفيان عن جعفر بن محمد عن أبيه

عن جابر قال

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

ابن ماجه 2416صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Charity
Chapter
Whoever leaves behind a debt or dependents, then upon Allah and upon His Messenger
Numbering
Darussalam 2416
Ibn Majah 2416