narrated anas bin malik (radi-allahu 'anhu):
the prophet (sallallahu 'alaihi wa sallam) 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."
bukhari vol. 8 : no. 41