It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that a man asked the Holy Prophet (peace and blessings be upon him), "My father has passed away. He left behind wealth but made no will. If I give charity on his behalf, will it be an expiation for him?" The Holy Prophet (peace and blessings be upon him) replied, "Yes."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 8841