(2) باب فَضْلِ الْغَرْسِ وَالزَّرْعِ
Jabir b. Abdullah (Allah be pleased with them) reported:
Allah's Apostle (ﷺ) visited the orchard of Umm Ma'sud and said: Umm Ma'bad. he who has planted this tree, is he a Muslim or a non-Muslim? She said: Of course, he is a Muslim, whereupon he (the Holy Prophet) said: No Muslim who plants (trees) and from their fruits the human beings or the beasts or birds eat, but that would be taken as an act of charity on the Day of Resurrection.
Reference: Sahih Muslim 1552 d
In-book reference: Book 22, Hadith 10
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3767