The Ruling on Giving Charity on Behalf of the Deceased
Question:
Can charity and the like be given on behalf of a deceased person? For example, if someone gives charity and says that its reward should reach his parents or a relative, or if, after someone’s death, his children build a mosque for the reward of their parents (isal al-thawab) and say that its reward should reach their parents, is this correct?
Answer:
الحمد لله، والصلاة والسلام علىٰ رسول الله، أما بعد!
This act is correct.
This incident is mentioned in Sahih al-Bukhari:
Sa’d (may Allah be pleased with him) said:
“My mother has died. If I give charity on her behalf, will she benefit from it?”
So the Messenger of Allah ﷺ said:
“Yes, give charity on her behalf; she will benefit from it.”
ھذا ما عندي والله أعلم بالصواب