Jabir bin Abdullah reported,

The Messenger of Allah ﷺ said, "There is no Muslim who plants a tree except that whatever is eaten from it counts as charity for him, whatever is stolen from it is charity for him, whatever wild animals eat from it is charity for him, whatever birds eat from it is charity for him, and no one takes anything from it except that it becomes charity for him."

Azami 5539

Sahih

عن جابر قال

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

الأعظمي 5539صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Muzaraa and musaqa
Section
Virtue of a Muslim's planting and cultivating
Numbering
Jami al-Kamil 5539 (2nd edition)
Azami 5539