Give your charity to one or both of your parents, or to a relative or friend who has passed away, may God Almighty have passed away.
Giving charity to the dead is permissible and desirable, and it has been proven in the Two Sahihs on the authority of the Prophet, peace and blessings be upon him, that he was asked about that, and a man said to him: “O Messenger of God! My mother died. Will she be rewarded if I give charity on her behalf? He said: Yes .