Sayyiduna Tha'labah bin Abi Malik (may Allah be pleased with him) narrates that a dispute was brought to the Messenger of Allah (peace and blessings be upon him) concerning the floodwater of Mahzur, the valley of Banu Qurayzah. The Messenger of Allah (peace and blessings be upon him) judged between them that the water should be held back up to the ankles, and that it should not be withheld from the one lower down.
Hadith Referenceالمعجم الكبير للطبراني / باب الثاء / 1373
It is narrated from Sayyiduna Tha'labah bin Abi Malik (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Do not suffer harm and do not cause harm."
And the Messenger of Allah (peace and blessings be upon him) ruled concerning the watering of date palms that, with floodwater coming from above, the upper one should irrigate first, then the water should turn towards the greater (level), then the water should be released downwards, and so on, until the orchards are finished and the water runs out.
Hadith Referenceالمعجم الكبير للطبراني / باب الثاء / 1374