It is narrated from Sayyiduna Umar bin Khattab (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "We (the Prophets) do not leave inheritance; whatever we leave behind is charity."
Hadith Referenceالسنن المأثورة / باب الجهاد / 639
Hadith Takhrijصحیح بخاری، فرض الخمس، باب فرض الخمس، رقم: 3094، صحیح مسلم، الجہاد باب حکم الفئی رقم: 1757۔