The Messenger of Allah ﷺ said, "There is no Muslim who plants a tree except that whatever is eaten from it counts as charity for him, whatever is stolen from it counts as charity for him, whatever the wild beasts eat from it counts as charity for him, whatever the birds eat from it counts as charity for him, and no one takes anything from it without it being charity for him."
قال رسول الله ﷺ: ما من مسلم يغرس غرسا إلا كان ما أكل منه له صدقة، وما سرق منه له صدقة، وما أكل السبع منه فهو له صدقة، وما أكل الطير فهو له صدقة، ولا يرزؤه أحد إلا كان له صدقة.
Muslim narrated it in the Book of Musaqah (1552) from Ibn Numayr, who said, our father told us, Abdul-Malik told us, from Ata, from Jabir, and he related it.In the version of Abu Zubayr, from Jabir, "The Prophet ﷺ visited Umm Mubashir the Ansari woman in a palm grove of hers," and he related the hadith.In the version of Amr bin Dinar, he heard Jabir bin Abdullah say, "The Prophet ﷺ visited Umm Mabad in an orchard, and he said, 'O Umm Mabad...'" and he related the hadith.Then Muslim combined all these narrations together, saying, "Abu Bakr bin Abu Shayba told us, Hafsa bin Ghiyath told us. Also, Abu Kurayb and Ishaq bin Ibrahim both told us, from Abu Muawiya. Also, Amr Naqid told us, Ammar bin Muhammad told us. Also, Abu Bakr bin Abu Shayba told us, Ibn Fudayl told us. All of these narrated from Amash, from Abu Sufyan, from Jabir. Amr added in his narration from Ammar, and Abu Kurayb added in his narration from Abu Muawiya, saying, 'from Umm Mubashir.' In the version of Ibn Fudayl, 'from the wife of Zayd bin Kharija.' In the version of Ishaq, from Abu Muawiya, he said, sometimes he would say, 'from Umm Mubashir, from the Prophet ﷺ' and sometimes he would not say it. All of them said 'from the Prophet ﷺ' in a manner similar to the hadith of Ata, Abu Zubayr, and Amr bin Dinar." End of quote.I say, Umm Mubashir's name was Juhayna bint Sayfi, she was the wife of Zayd bin Haritha. But Umm Mabad was the wife of Mabad, a different woman. Perhaps the story occurred twice, once in the orchard of Umm Mubashir, and again in the orchard of Umm Mabad.As for what was narrated from Muaz bin Anas, as a saying of the Prophet, "Whoever builds a building without wrongdoing or transgression, or plants a plant without wrongdoing or transgression, he will have the reward of whatever creature benefits from it among Allah's creation," its chain of transmission is daif.Imam Ahmad narrated it (15616), and Tabarani in Al-Kabir (20/410), both from the hadith of Ibn Lahia, and Tabarani paired him with Yahya bin Ayub, both from Zaban bin Faid, from Sahl bin Muaz bin Anas, from his father, and he related it.Ibn Lahia has been criticized, but he has been corroborated. Zaban bin Faid, with the letter fa, of Basra, has been criticized by the majority of the scholars, who declared him daif, among them Ahmad, Ibn Main, Nasai, and others. Hafiz Haythami flatly stated that he is "daif," while Abu Hatim was more lenient in his assessment, saying, "He is acceptable (salih)." Al-Jarh wal-Tadil (3/616).As for Hafiz Haythami, he said in Al-Majmu (3/134), "It contains Zaban, whom Abu Hatim deemed reliable, though he has been criticized." He also said (4/70), "It contains Zaban bin Faid, whom Ahmad and others declared daif, and whom Abu Hatim deemed reliable."So his transmission of Abu Hatim's endorsement of him as reliable, stated unconditionally in this way, does not match his own statement, "salih," so take note.Ibn Abu Hatim said in Al-Jarh wal-Tadil (2/37), when discussing the ranks of narrators in criticism and endorsement, "When it is said, 'salih al-hadith,' it means his hadith is recorded for consideration (as supporting evidence)."On this subject there is also a report from Abdullah bin Amr bin As, who said, the Messenger of Allah said, "No Muslim plants a plant, or sows a crop, from which a person eats, or a bird, or anything at all, without it being counted as a reward for him."Tabarani narrated it in Al-Awsat (8982), from Miqdam, who said, Abdullah bin Yusuf told us, who said, Ibn Lahia told us, from Amr bin Dinar, from Ata bin Abu Rabah, from Abdullah bin Amr bin As, and he related it.Haythami said in Al-Majmu (3/134), "Its chain of transmission is hasan." But it contains Ibn Lahia, about whom there is well known criticism.