Eruvin8: 6
בּוֹר שֶׁבֵּין שְׁתֵּי חֲצֵרוֹת, אֵין מְמַלְאִין מִמֶּנּוּ בְשַׁבָּת, אֶלָּא אִם כֵּן עָשׂוּ לוֹ מְחִיצָה גָבוֹהַּ עֲשָׂרָה טְפָחִים, בֵּין מִלְמַעְלָה, בֵּין מִלְּמַטָּה, בֵּין מִתּוֹךְ אָגְנוֹ. רַבָּן שִׁמְעוֹן בֶּן גַּמְלִיאֵל אוֹמֵר: בֵּית שַׁמַּאי אוֹמְרִים: מִלְּמַטָּה; וּבֵית הִלֵּל אוֹמְרִים: מִלְמַעְלָה. אָמַר רַבִּי יְהוּדָה: לֹא תְהֵא מְחִיצָה גְדוֹלָה מִן הַכֹּתֶל שֶׁבֵּינֵיהֶם.
If a cistern is between two courtyards, we may not draw [water] from it on the Sab-bath, unless they made a partition for it ten fists high, whether above or below, or within its walls. Rabban Shimon ben Gamliel says: Beis Shammai say below; but Beis Hillel say above. R’ Yehudah said: A partition should not be more effective than the wall that is between them.