סימן צה סעיף א
אָסוּר לָצֵאת בַּשַׁבָּת וּבְיוֹם טוֹב מִמָּקוֹם שֶׁשַׁבָּת, יוֹתֵר מִתְּחוּם, שֶׁהוּא שְׁנֵי אֲלָפִים אַמָּה. וּמְקוֹמוֹ שֶׁל אָדָם הוּא אַרְבַּע אַמּוֹת. וְהַיְנוּ אִם הָיָה בֵּין הַשְּׁמָשׁוֹת בַּשָּׂדֶה. אֲבָל אִם שַׁבָּת בְּתוֹךְ הָעִיר, כָּל הָעִיר הִיא מְקוֹמוֹ. וְעִבּוּרָהּ שֶׁל עִיר, נֶחְשָׁב גַּם כֵּן לָעִיר. וְאֵיזֶה הוּא עִבּוּרָהּ. שִׁבְעִים אַמָּה וּשְׁנֵי שְׁלִישֵׁי אַמָּה, וְשַׁיָּךְ לָעִיר אַף עַל פִּי שֶׁאֵין שָׁם בִּנְיָן, וְהוּא הַנִּקְרָא קַרְפֵּף הָעִיר. וּמִמָּקוֹם שֶׁיִּכְלֶה, מַתְחִילִין לִמְדֹּד תְּחוּם שַׁבָּת.
On Shabbos and Yom Tov1For it is written, “A man shall not go out from his place on the seventh day.” (Exodus 16: 29) See Maseches Eiruvin 17b. There is a question if this law is Biblical or a Rabbinic enactment. it is forbidden2Some poskim rule that Yom Tov and Shabbos are equal regarding boundaries, and others say that the laws of boundaries on Yom Tov are only derabanan, (Rabbinically ordained). to walk more than 2, 000 amos from the place you were3This refers to your place of dwelling which is determined by where you are when Shabbos begins; you then acquire shevisah. at the onset of Shabbos. This is [in addition] to the space a person occupies which is four4The space the person occupies is not included in the 2, 000 amos. Mishnah Berurah 396: 8 rules that with regard to techumin a person’s place is not four by four amos, but rather, eight by eight amos. amos. This is true only if you happen to be in the field at twilight,5Or, if you left the techum on Shabbos, in which case you must stop and remain in your place until the end of Shabbos. but if you stayed in a city6Even if the city has no surrounding wall. [Shulchan Aruch Harav 396] [at the onset of Shabbos,] then the entire city is considered your place of residence. The outskirts of the city are also considered part of the city. What are the outskirts [of the city]? An area of seventy and two third amos.7See Maseches Eiruvin 57a. [This area] is considered part of the city, even though there are no buildings there. This is called the karpeif8Means park or yard, or enclosure. [enclosure] of the city. It is from the edge of this area that we begin to measure the techum Shabbos.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)