It is narrated from Sayyiduna Sa’ib (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: Whoever plants a field, and birds or beasts eat from it, then that is also charity for him.
Hadith Referenceمسند احمد / مسند المدنيين رضي الله عنهم اجمعين / 16558