Anas bin Malik reported,

The Messenger of Allah ﷺ said, "There is no Muslim who plants a tree or sows a crop from which a bird, a person, or an animal then eats, except that it counts as charity for him."

Muslim 3973

Sahih

حدثنا يحيى بن يحيى وقتيبة بن سعيد ومحمد بن عبيد الغبري واللفظ ليحيى قال يحيى أخبرنا وقال الآخران حدثنا أبو عوانة عن قتادة

عن أنس قال

قال رسول الله ﷺ ما من مسلم يغرس غرسا أو يزرع زرعا فيأكل منه طير أو إنسان أو بهيمة إلا كان له به صدقة

مسلم 3973صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Sharecropping of orchards
Chapter
Virtue of planting and cultivation
Numbering
Darussalam 3973
Muslim 3973