It was narrated from Abu Hurairah that a man asked the Messenger of Allah (ﷺ):
"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."
English reference: Vol. 3, Book 22, Hadith 2716
Arabic reference: Book 22, Hadith 2820
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.