Volume 8 · Book 73 · Hadith 41
Narrated Anas bin Malik: The Prophet said, "If any Muslim plants any plant and a human being or an animal eats of it, he will be rewarded as if he had given that much in charity."
— Sahih Bukhari, Volume 8, Book 73: Good Manners and Form (Al-Adab), Hadith #41