“My father died and left behind wealth, but he did not make a will. Will it expiate for him if I give charity on his behalf?” He said: “Yes.”
Sunan Ibn Majah Book 22, Hadith 22