Laws of Inheritance (Al-Faraa'id)

Bukhari :: Book 8 :: Volume 80 :: Hadith 723

Narrated Abu Huraira:

The Prophet said, "I am more closer to the believers than their own selves, so whoever (of them) dies while being in debt and leaves nothing for its repayment, then we are to pay his debts on his behalf and whoever (among the believers) dies leaving some property, then that property is for his heirs."

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star