This is the wording of the Tur: And when he sits, he should intend that his face be toward the south and his back toward the north, or vice versa, but he should not sit between east and west. However, this is specifically when he relieves himself in an open place, but in a place where there are partitions, such as a beit hakise that is in a house—he does not need to be precise. Thus far his words, for so it is explained in the Yerushalmi, that the prohibition is only in an open place. This is the wording of the Yerushalmi: Provided it is a place where there is no wall. And it implies that even one wall permits it, and that is when the partition is behind him (Magen Avraham subsection 5). And that which the Tur wrote, "such as a beit hakise that is in a house"—he did not care to elaborate, and his primary intention is that the prohibition is only when he sits exposed on all sides, like in a valley or a field. But in a courtyard surrounded by partitions—it is permitted. And the enclosure of the city does not avail for this (ibid.), because the partitions are not noticeable at all. And the Tur did not distinguish between a country situated to the east or west of Eretz Yisrael or to its north or south like the Galil, for the Tur holds that Rabbi Akiva holds that in every place east and west is forbidden, and in every place north and south is permitted, for the prohibition is because the Shekhinah is in the west (Beit Yosef). And so it is explained from the words of the Rambam in the seventh chapter of Beit HaBechirah, and he wrote: Because the Heikhal is in the west, see there. And the Rambam did not mention a permission with partitions at all, for he holds that our Shas does not distinguish in this. And our teacher, the Beit Yosef, in section 5 ruled like the Tur, see there. And there are those who are concerned even when his back is to the south, but specifically when his back is to the north it is permitted (see Magen Avraham subsection 6). But from all the poskim it does not imply so, but rather that there is no concern. And so our teacher, the Rema, in his book Darkhei Moshe, wanted to maintain that in countries situated to the north or south of Eretz Yisrael it is like in the Galil, and the Tur did not mention this because our entire country is to the west of Eretz Yisrael, see there. However, in the Shulchan Aruch he did not mention this, and he did well, for also from the Rambam this is proven, and he was in Egypt which is to the south of Eretz Yisrael. And to pass water—it is permitted in any manner. And only from HaTzofim and inward, meaning from a place where they can see the Beit HaMikdash—he should not urinate with his face toward the Sanctuary. Rather, to the north or to the south, or he should turn the Sanctuary to the sides.
וזה לשון הטור: וכשיושב יכוין שיהא פניו לדרום ואחוריו לצפון או איפכא, אבל לא ישב בין מזרח למערב. ומיהו דווקא כשנפנה במקום מגולה, אבל במקום שיש מחיצות כגון בית הכסא שבבית – אינו צריך לדקדק. עד כאן לשונו, דכן מבואר בירושלמי דהאיסור אינו אלא במקום מגולה. וזה לשון הירושלמי: ובלבד מקום שאין בו כותל. ומשמע דרק כותל אחד מתיר, והיינו שהמחיצה תהיה לאחוריו (מגן אברהם סעיף קטן ה). וזה שכתב הטור "כגון בית הכסא שבבית" – לא חש להאריך, ועיקר כוונתו דהאיסור אינו אלא כשיושב מגולה מכל צד, כמו בבקעה ובשדה. אבל בחצר המוקף מחיצות – מותר. והיקף העיר לא מהני לזה (שם), כי לא נכרו המחיצות כלל. ולא חילק הטור בין מדינה העומדת למזרח ומערב של ארץ ישראל או לצפונה ודרומה כמו גליל, דסבירא ליה להטור דרבי עקיבא סבירא ליה דבכל מקום מזרח ומערב – אסור, ובכל מקום צפון ודרום – מותר, דהאיסור הוא מפני שהשכינה במערב (בית יוסף). וכן מבואר מדברי הרמב"ם בפרק שביעי מבית הבחירה, והוא כתב: מפני שההיכל במערב, עיין שם. והרמב"ם לא הזכיר היתר במחיצות כלל, דסבירא ליה דהש"ס שלנו אינו מחלק בזה. ורבינו הבית יוסף בסעיף ה פסק כהטור, עיין שם. ויש חוששין גם באחוריו לדרום, אלא דווקא באחוריו לצפון מותר (עיין מגן אברהם סעיף קטן ו). ומכל הפוסקים לא משמע כן אלא דאין קפידא. וכן רבינו הרמ"א בספרו דרכי משה רצה לקיים דבמדינות העומדות לצפון ודרום של ארץ ישראל הוי כמו בגליל, והטור לא הזכיר זה משום דכל מדינתינו היא במערבה של ארץ ישראל, עיין שם. אך בשולחן ערוך לא הזכיר, זה ויפה עשה שהרי גם מרמב"ם מוכח כן, והוא היה במצרים שהיא לדרומה של ארץ ישראל. ולהטיל מים – מותר בכל ענין. ורק מן הצופים ולפנים, כלומר ממקום שיכולים לראות את הבית המקדש – לא ישתין ופניו כלפי הקודש. אלא לצפון או לדרום או יסלק הקדש לצדדין.