Abdullah bin Abbas reported,

Ibn Abbas reported that Saad bin Ubada رضي الله عنهم, the brother of the Banu Saidah, lost his mother while he was away from her. He came to the Prophet ﷺ and said, "Messenger of Allah, my mother passed away while I was absent. Will it benefit her if I give charity on her behalf?"He replied, "Yes."Saad said, "Then I call you to witness that my orchard, al-Mikhraf, is given as charity on her behalf."

Bukhari 2762

Sahih

حدثنا إبراهيم بن موسى أخبرنا هشام بن يوسف أن ابن جريج أخبرهم قال أخبرني يعلى أنه سمع عكرمة مولى

ابن عباس

يقول أنبأنا ابن عباس أن سعد بن عبادة رضي الله عنهم أخا بني ساعدة توفيت أمه وهو غائب عنها فأتى النبي ﷺ فقال يا رسول الله إن أمي توفيت وأنا غائب عنها فهل ينفعها شيء إن تصدقت به عنها قال نعم قال فإني أشهدك أن حائطي المخراف صدقة عليها

البخاري 2762صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Bequests
Chapter
Witnessing in endowments and charity
Numbering
Darussalam 2762
Bukhari 2762