The Rambam · Sefer Kinyan
הלכות שכנים ב׳Neighbors 2
Chapter 2 of 14 in Neighbors — 18 halachot
Halacha 1א׳
חַצְרוֹת הַכְּפָרִים שֶׁכָּל אֶחָד וְאֶחָד בּוֹנֶה לוֹ בַּיִת וְנִמְצֵאת הֶחָצֵר שֶׁבֵּין שְׁנֵי הַבָּתִּים מְשֻׁתֶּפֶת לְכָל בְּנֵי הַבָּתִּים. הֲרֵי יֵשׁ לְכָל פֶּתַח וּפֶתַח אַרְבַּע אַמּוֹת לְפָנָיו בְּרֹחַב כָּל הַפֶּתַח. וְהַנִּשְׁאָר מִן הֶחָצֵר אִם יֵשׁ בּוֹ אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת לְכָל שֻׁתָּף וְשֻׁתָּף חוֹלְקִין אוֹתָהּ וְאִם לָאו אֵין חוֹלְקִין אוֹתָהּ שֶׁכָּל חָצֵר שֶׁאֵין לָהּ אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת אֵינָהּ קְרוּיָה חָצֵר כְּמוֹ שֶׁבֵּאַרְנוּ. כֵּיצַד. הָיוּ שְׁנֵי שֻׁתָּפִין לָזֶה שְׁנֵי בָּתִּים וְלָזֶה בַּיִת אֶחָד. זֶה שֶׁיֵּשׁ לוֹ שְׁנֵי בָּתִּים מוֹדְדִין לוֹ מִן הֶחָצֵר אַרְבַּע אַמּוֹת לְכָל בַּיִת וּבַיִת עַל כָּל רֹחַב הַפֶּתַח אֲפִלּוּ הָיָה עֶשֶׂר אַמּוֹת. וְזֶה שֶׁיֵּשׁ לוֹ בַּיִת אֶחָד נוֹתְנִין לוֹ אַרְבַּע אַמּוֹת בְּרֹחַב פִּתְחוֹ לִפְנֵי פִּתְחוֹ. וְהַנִּשְׁאָר מִן הֶחָצֵר אִם יֵשׁ בָּהּ שְׁמוֹנֶה אַמּוֹת כְּדֵי שֶׁיְּהֵא לָזֶה אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת וְלָזֶה אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת חוּץ מִן הַפְּתָחִים יֵשׁ בָּהּ דִּין חֲלוּקָה וְחוֹלְקִין. פָּחוֹת מִזֶּה אֵין בָּהּ דִּין חֲלוּקָה:
Village courtyards, where each one builds himself a house, and the courtyard between the two houses is found to be shared by all the occupants of the houses: each and every doorway has four cubits before it, along the whole width of the doorway. And the remainder of the courtyard — if it has four cubits by four cubits for each and every partner, they divide it; and if not, they do not divide it, for any courtyard that does not have four cubits by four cubits is not called a courtyard, as we have explained. How so? There were two partners, this one with two houses and that one with one house. For this one who has two houses they measure off from the courtyard four cubits for each house along the whole width of the doorway, even if it was ten cubits; and to this one who has one house they give four cubits along the width of his doorway, before his doorway. And the remainder of the courtyard — if it has eight cubits, so that this one has four cubits by four cubits and that one four cubits by four cubits, apart from what lies before the doorways, it is subject to the law of division, and they divide. Less than this, it is not subject to the law of division.
Halacha 2ב׳
בַּיִת שֶׁיֵּשׁ לוֹ פְּתָחִים רַבִּים מִכָּל רוּחוֹתָיו יֵשׁ לוֹ אַרְבַּע אַמּוֹת לְכָל רוּחַ. וְאִם יִחֵד לוֹ פֶּתַח אֵין לוֹ אֶלָּא אַרְבַּע אַמּוֹת כְּנֶגֶד פִּתְחוֹ:
A house that has many doorways on all its sides has four cubits on each side. And if he designated one doorway for it, it has only four cubits facing its doorway.
Halacha 3ג׳
אַכְסַדְרָה אִם אֶפְשָׁר לוֹ לְהִכָּנֵס לְתוֹכָהּ בְּמַשָּׂאוֹ אֵין לָהּ אַרְבַּע אַמּוֹת וְאִם לָאו יֵשׁ לָהּ אַרְבַּע אַמּוֹת. שֶׁלֹּא אָמְרוּ שֶׁיֵּשׁ לְכָל פֶּתַח וּפֶתַח אַרְבַּע אַמּוֹת אֶלָּא לִפְרֹק שָׁם מַשָּׂאוֹ:
A portico: if he can enter into it with his load, it does not have four cubits; and if not, it has four cubits. For they said that each and every doorway has four cubits only for unloading one's burden there.
Mishneh Torah, Torat Emet 363 edition, via Sefaria — public domain
English: rendered from the Hebrew for this app — our own, not a borrowed translation