A woman said, "Messenger of Allah, my mother died suddenly. Had it not been so, she would have given charity and donated. Will it benefit her if I give charity on her behalf?"The Prophet ﷺ replied, "Yes, so give charity on her behalf."
حدثنا موسى بن إسمعيل حدثنا حماد عن هشام عن أبيه
أن امرأة قالت يا رسول الله إن أمي افتلتت نفسها ولولا ذلك لتصدقت وأعطت أفيجزئ أن أتصدق عنها فقال النبي ﷺ نعم فتصدقي عنها
No references are available.
Takhrij, sahihHammad is Ibn Salama, and its origin is found in Bukhari, no. 1388, and Muslim, no. 1004, after no. 1630, from the hadith of Hisham, from his father, that a man said... etc.