It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Holy Prophet (peace and blessings be upon him) said: I have more right over the believers than their own selves in this world and the Hereafter. If you wish, recite this verse: "The Prophet is closer to the believers than their own selves." Therefore, whoever leaves behind a debt, its payment is my responsibility, and whoever leaves behind wealth, it is for his heirs, whoever they may be.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 8418