Sahih al-Bukhari, Book 90, Hadith 9 (Bukhari 6704)

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "One should not prevent others from watering their animals with the surplus of his water in order to prevent them from benefiting by the surplus of grass."