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." (JA)
English reference (JA): Vol. 4, Book 3, Hadith 2090 (JA)
Arabic reference (JA): Book 29, Hadith 2233 (JA)