Jabir bin Abdullah reported,

The Prophet ﷺ entered a garden belonging to Umm Mabad and asked, "Umm Mabad, who planted these palm trees? Was it a Muslim or a disbeliever?"She replied, "A Muslim."He said, "No Muslim plants a tree from which a person, an animal, or a bird eats without it being counted as charity for him until the Day of Resurrection."

Azami 5538

Sahih

عن جابر بن عبد الله قال

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

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