The Messenger of Allah (ﷺ) as saying: Excess water should not be withheld so as to prevent (cattle) by it from grass.
Sunan Abi Dawud Book 24, Hadith 58