הַיּוֹצֵא חוּץ לִתְחוּם הַמְּדִינָה בְּשַׁבָּת לוֹקֶה שֶׁנֶּאֱמַר (שמות טז כט) "אַל יֵצֵא אִישׁ מִמְּקֹמוֹ בַּיּוֹם הַשְּׁבִיעִי". מָקוֹם זֶה הוּא תְּחוּם הָעִיר. וְלֹא נָתְנָה תּוֹרָה שִׁעוּר לִתְחוּם זֶה אֲבָל חֲכָמִים הֶעְתִּיקוּ שֶׁתְּחוּם זֶה הוּא חוּץ לִשְׁנֵים עָשָׂר מִיל כְּנֶגֶד מַחֲנֵה יִשְׂרָאֵל. וְכָךְ אָמַר לָהֶם משֶׁה רַבֵּנוּ לֹא תֵּצְאוּ חוּץ לַמַּחֲנֶה. וּמִדִּבְרֵי סוֹפְרִים שֶׁלֹּא יֵצֵא אָדָם חוּץ לָעִיר אֶלָּא עַד אַלְפַּיִם אַמָּה אֲבָל חוּץ לְאַלְפַּיִם אַמָּה אָסוּר. שֶׁאַלְפַּיִם אַמָּה הוּא מִגְרַשׁ הָעִיר:
The one who goes outside the boundary of the city on the Sabbath is lashed, as it is said, "one shall not go out from one's place on the seventh day" (Exodus 16:29). This "place" is the boundary of the city. And the Torah dod not give the amount [of distance] for this boundary, but the Sages had a tradition that this boundary was 12 mil outside, equal to the Israelites camp. And thus Moses our teacher said to them: do not go outside the camp. And from the words of the [Rabbis], a person shall not go outside the city other than 2000 cubits, but outside of 2000 cubits is forbidden, in that 2000 cubits is the pasture land of the city....
