Abu Hurairah narrated that the Messenger of Allah(S.A.W) said:
"Whoever leaves wealth then it is for his heirs, and whoever leaves poor dependents then it (the responsibility) is for me." (ES)
English reference (ES): Vol. 4, Book 3, Hadith 2090 (ES)
Arabic reference (ES): Book 29, Hadith 2233 (ES)