Abdullah bin Abbas reported,

Saad bin Ubada رضي الله عنه reported that his mother died while he was away from her. He said, "Messenger of Allah, my mother has died while I was absent. Would it benefit her if I gave charity on her behalf?"The Prophet replied, "Yes."Saad said, "Then I call you to witness that my orchard called al-Mikhraf is given as charity on her behalf."

Bukhari 2756

Sahih

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

ابن عباس رضي الله عنهما

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

البخاري 2756صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Bequests
Chapter
If he says my land or my orchard is charity for my mother, it is permissible even if he does not specify to whom it goes
Numbering
Darussalam 2756
Bukhari 2756