A man said to the Prophet, "My mother died suddenly, and I think that if she could speak, she would have given in charity. May I give in charity on her behalf?" He said, "Yes! Give in charity on her behalf." (Using translation from Bukhārī 2760)
لِلنَّبِيِّ ﷺ إِنَّ أُمِّي افْتُلِتَتْ نَفْسُهَا وَإِنَّهَا لَوْ تَكَلَّمَتْ تَصَدَّقَتْ أَفَأَتَصَدَّقُ عَنْهَا؟ فَقَالَ رَسُولُ اللهِ ﷺ «نَعَمْ» فَتَصَدَّقَ عَنْهَا