The Shulchan Aruch · Choshen Mishpat
חושן משפט ק״עChoshen Mishpat 170
Siman 170 of 427 in Choshen Mishpat — 2 se'ifim
הלכות שותפים בקרקעLand Partnerships· siman 170
Se’if 1א׳
גנות המסתפקות ממעין אחד. ובו ב סעיפים: חמש גנות המסתפקות ממעין אחד ונתקלקל המעין כולם מתקנות עם העליונה נמצאת התחתונה מתקנת עם כולם ומתקנת לעצמה והעליונה אינה מתקנת אלא לעצמה:
Gardens drawing from one spring; it contains two se'ifim. Five gardens drawing from one spring, and the spring became spoiled — all of them repair it with the uppermost; so the lowest is found repairing with all of them and repairing for itself, and the uppermost repairs only for itself.
Se’if 2ב׳
בני הנהר משקין על הסדר רצה אחד לסכור כדי שיחזיר לו המים וישקה תחלה ואחר כך יפתח ואחר רוצה להשקות תחלה כל המתגבר זכה ובור שהוא קרוב לאמה (והנהר מושך בו על פי הלוכו) (טור) מתמלא ראשון מפני דרכי שלום (וי"א דוקא שקדם בור לאמה אבל איפכא לא) (המגיד פ"ג דשכנים וב"י בשם הרשב"א):
The people along a river water in order. If one wanted to dam it so as to turn the water to himself and water first, and afterwards open it, and another wants to water first — whoever prevails has acquired. And a pit that is near the channel (and the river draws into it along its course) (Tur) is filled first, because of the ways of peace (and some say, specifically where the pit came before the channel, but not the reverse) (the Maggid, chapter 3 of the Laws of Neighbours, and Beit Yosef in the name of the Rashba).
Shulchan Aruch, Choshen Mishpat — Lemberg 1898 edition, via Sefaria — public domain
English rendered from the Hebrew for this app — The Gematria's own rendering program. A rendering of the words, not a ruling; practical halacha is learned with a rav