The Messenger of Allah ﷺ said, "There is no Muslim who plants a tree except that whatever is eaten from it is 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."
حدثنا ابن نمير حدثنا أبي حدثنا عبد الملك عن عطاء
قال رسول الله ﷺ ما من مسلم يغرس غرسا إلا كان ما أكل منه له صدقة وما سرق منه له صدقة وما أكل السبع منه فهو له صدقة وما أكلت الطير فهو له صدقة ولا يرزؤه أحد إلا كان له صدقة