Sunan Ibn Majah, Book 15, Hadith 27 (Ibn Majah 2416)

It was narrated from Jabir that the Messenger of Allah (ﷺ) said:

“Whoever leaves behind money, it is for his heirs, and whoever leaves behind a debt for children, I am nearer to the believers.”