"My mother died unexpectedly; if she had been able to speak she would have given charity. Should I give charity on her behalf?" The Messenger of Allah said: "Yes." So he gave charity on her behalf.
لِرَسُولِ اللَّهِ ﷺ إِنَّ أُمِّي افْتُلِتَتْ نَفْسُهَا وَإِنَّهَا لَوْ تَكَلَّمَتْ تَصَدَّقَتْ أَفَأَتَصَدَّقُ عَنْهَا فَقَالَ رَسُولُ اللَّهِ ﷺ نَعَمْ فَتَصَدَّقَ عَنْهَا