Can sadaqah be given on behalf of someone who dies without a will?



Aisha (may Allah be pleased with her) related:
A woman came to the Messenger of Allah (peace and blessings upon him) and said, "O Messenger of Allah! My mother has died suddenly. Had she not died, she would have given in charity (to the poor). Can my mother receive reward if I give in charity on her behalf?" The Messenger of Allah (peace and blessings upon him) said, “Yes, give in charity on her behalf.”



A man asked the Prophet, peace and blessings be upon him: "O Messenger of Allah, my mother has died. Will she benefit if I give charity on her behalf?"
The Prophet, peace and blessings be upon him, said: “Yes, she will benefit.”
The man said: “I have a garden full of fruit; I bear witness to you that I will donate the garden in my mother’s name.”

