Sahih Bukhari | Volume 8 | Hadith Number 755

Narrated by Abu Huraira
The Prophet said, " If somebody dies (among the Muslims) leaving some property, the property will go to his heirs; and if he leaves a debt or dependants, we will take care of them."