Sahih Muslim, Book 22, Hadith 9 (Muslim 3932)

Jabir b. 'Abdullah (Allah be pleased with them) reported:

I heard Allah's Messenger (ﷺ) saying: Never does a Muslim plant, or cultivate, but has reward for him for what the beasts eat, or the birds eat or anything else eats out of that.