Saad bin Ubada reported,

Saad bin Ubada went out with the Messenger of Allah ﷺ on one of his expeditions, and during his absence his mother was on the verge of death in Medina. She was told, "Make a will."She replied, "What should I leave a will about? The wealth all belongs to Saad."She passed away before Saad returned. When Saad bin Ubada came back, he was informed of what had happened. He asked, "Messenger of Allah, will it benefit her if I give charity on her behalf?"The Messenger of Allah ﷺ answered, "Yes."Saad said, "Then such-and-such a garden is given as charity on her behalf," naming a particular garden of his.

Azami 4107

Sahih

عن سعد بن عبادة

أنه خرج مع رسول الله ﷺ في بعض مغازيه فحضرت أمه الوفاة بالمدينة، فقيل لها: أوصي. فقالت: فيم أوصي إنما المال مال سعد؟ فتوفيت قبل أن يقدم سعد، فلما قدم سعد بن عبادة ذكر ذلك له، فقال سعد: يا رسول الله، هل ينفعها أن أتصدق عنها؟ فقال رسول الله ﷺ: نعم. فقال سعد: حائط كذا وكذا صدقة عنها لحائط سماه.

الأعظمي 4107صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Zakat
Chapter
Encouragement to pay zakat and charity and the ways of spending them
Section
Charity of the living on behalf of the deceased
Numbering
Jami al-Kamil 4107 (2nd edition)
Azami 4107