30/39 (صحيح) عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَجُلًا قَالَ: يَا رَسُولَ اللَّهِ! إِنَّ أُمِّي تُوُفِّيَتْ وَلَمْ تُوصِ، أَفَيَنْفَعُهَا أَنْ أَتَصَدَّقَ عَنْهَا؟ قَالَ: "نَعَمْ".
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them) that a man said: O Messenger of Allah! My mother has passed away and she did not make any will. If I give charity on her behalf, will it benefit her? The Prophet (peace and blessings of Allah be upon him) said: "Yes."