It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) said: Whoever plants a tree or sows a crop, and then a human, bird, beast, or animal eats from it, it will be counted as charity for him. The previous hadith is also narrated through this second chain.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 15202
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد قوي، م: 93