It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: Whoever plants a plant, and then a human, a bird, a wild animal or a beast eats from it, it is charity for him.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 15201
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد قوي، م: 1552