Answered by Ustadh Tabraze Azam
Question: As salam alaykum,
Can a person sacrifice an animal either during Eid ul Adha or in general in the name of deceased person so that he/she can receive the reward for this?Answer: Wa alaikum assalam wa rahmatullahi wa barakatuh,
I pray that this message finds you well, insha’Allah.
Yes, it is permitted to donate the reward of a good deed to another, whether the other person is alive or deceased.
A man told the Prophet (peace and blessings be upon him) that his mother died a sudden death and did not have a chance to leave a bequest in her will, and that were she able to speak she would want to donate charity. He then asked if the reward of charity on behalf of his deceased mother would reach her, to which the Prophet (peace and blessings be upon him) replied, “Yes.” [Muslim]
Please see the following answer for further details: Donating Reward to the Dead: A Detailed Answer and: Is Donating the Reward of a Recitation to Prophets Permissible?
And Allah alone knows best.
Checked & Approved by Shaykh Faraz Rabbani