It was narrated from 'Ubadah bin Samit that :
the Messenger of Allah (ﷺ) ruled concerning the irrigation of palm trees from streams, that the higher ground should be irrigated before the lower, and that the water should be allowed to reach the ankles, then released to flow the nearest lower ground, and so on, until all the fields were watered or until the water ran out.
English reference: Vol. 3, Book 16, Hadith 2483
Arabic reference: Book 16, Hadith 2577