كتاب الزكاة
12  
The Book of Zakat
(15)
Chapter: Charity given on behalf of the deceased will reach him
(15)
باب وُصُولِ ثَوَابِ الصَّدَقَةِ عَنِ الْمَيِّتِ، إِلَيْهِ ‏‏
Sahih Muslim 1004 a

'A'isha said that a person came to the Messenger of Allah (ﷺ) and said:

My mother died suddenly without having made any will. I think she would have definitely given Sadaqa if she had been able to speak. Would she have a reward if I gave Sadaqa on her behalf? He (the Holy Prophet) said: Yes.
وَحَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ، حَدَّثَنَا مُحَمَّدُ بْنُ بِشْرٍ، حَدَّثَنَا هِشَامٌ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، أَنَّ رَجُلاً، أَتَى النَّبِيَّ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ إِنَّ أُمِّيَ افْتُلِتَتْ نَفْسَهَا وَلَمْ تُوصِ وَأَظُنُّهَا لَوْ تَكَلَّمَتْ تَصَدَّقَتْ أَفَلَهَا أَجْرٌ إِنْ تَصَدَّقْتُ عَنْهَا قَالَ ‏ "‏ نَعَمْ ‏"‏.‏
Reference : Sahih Muslim 1004a
In-book reference : Book 12, Hadith 63
USC-MSA web (English) reference : Book 5, Hadith 2196
  (deprecated numbering scheme)
Sahih Muslim 1004 b

This hadith has been narrated on the authority of Hisham with the same chain of transmitters. And in the hadith transmitted by Abu Usama the words are:

" She did not make any will," as it has been reported by Ibn Bishr, but it was not reported by the rest of the narrators.
وَحَدَّثَنِيهِ زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، ح وَحَدَّثَنَا أَبُو كُرَيْبٍ، حَدَّثَنَا أَبُو أُسَامَةَ، ح وَحَدَّثَنِي عَلِيُّ بْنُ حُجْرٍ، أَخْبَرَنَا عَلِيُّ بْنُ مُسْهِرٍ، ح حَدَّثَنَا الْحَكَمُ بْنُ مُوسَى، حَدَّثَنَا شُعَيْبُ بْنُ إِسْحَاقَ، كُلُّهُمْ عَنْ هِشَامٍ، بِهَذَا الإِسْنَادِ ‏.‏ وَفِي حَدِيثِ أَبِي أُسَامَةَ وَلَمْ تُوصِ ‏.‏ كَمَا قَالَ ابْنُ بِشْرٍ وَلَمْ يَقُلْ ذَلِكَ الْبَاقُونَ ‏.‏
Reference : Sahih Muslim 1004b
In-book reference : Book 12, Hadith 64
USC-MSA web (English) reference : Book 5, Hadith 2196
  (deprecated numbering scheme)