The Messenger of Allah ﷺ said, "Whoever plants a tree from which a person, a bird, a wild animal, or a beast eats, it is counted as charity for him."
حدثنا أبو معاوية عن الأعمش عن أبي سفيان
قال رسول الله ﷺ من غرس غرسا فأكل منه إنسان أو طير أو سبع أو دابة فهو له صدقة