Messenger of Allah ﷺ 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." (Using translation from Bukhārī 6962)
عَنِ النَّبِيِّ ﷺ قَالَ لَا يُمْنَعُ فَضْلُ مَاءٍ لِيُمْنَعَ بِهِ فَضْلُ الْكَلَإِ