Jabir bin Abdullah reported,

The Prophet ﷺ visited Umm Mubashir al-Ansariyyah in a date-palm grove of hers and asked her, "Who planted these palms? A Muslim or a disbeliever?"She replied, "A Muslim."He said, "No Muslim plants a tree or sows a crop from which a person, an animal, or anything else eats, except that it counts as charity for him."

Azami 5537

Sahih

عن جابر

أن النبي ﷺ دخل على أم مبشر الأنصارية في نخل لها، فقال لها النبي ﷺ: من غرس هذا النخل؟ أمسلم أم كافر؟ فقالت: بل مسلم فقال: لا يغرس مسلم غرسا، ولا يزرع زرعا، فيأكل منه إنسان ولا دابة ولا شيء إلا كانت له صدقة.

الأعظمي 5537صحيح
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 5537 (2nd edition)
Azami 5537