It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) in a marfu' form that the Noble Prophet (peace and blessings be upon him) said: My heirs will not distribute dinars and dirhams. Whatever I leave, apart from the maintenance of my wives and the wages of my worker, is all charity.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7303