Sunan Abi Dawud, Book 20, Hadith 27 (Abu Dawud 2955)

Narrated Jabir ibn Abdullah:

The Prophet (ﷺ) said: I am nearer to the believers than themselves, so if anyone leaves property, it goes to his heirs, and if anyone leaves debt and dependants, let the matter come to me and I shall be responsible.