Sefer HaMitzvot · Negative Commandments, Chapter 321
1
הזהיר שלא להלוך חוץ לתחום המדינה בשבת. והוא אמרו אל יצא איש ממקומו ביום השביעי, ובאה הקבלה שגבול ההליכה שהיא אסורה מה שנוסף על אלפים אמה חוץ מן המדינה ואפילו אמה אחת וללכת אלפים אמה לכל צד מותר. ולשון מכילתא אל יצא איש ממקומו אלו אלפים אמה. ובמסכת עירובין (דף י"ז:) אמרו לוקין על איסורי תחומין דבר תורה. ושם התבארו משפטי מצוה זו. (בשלח, זמנים הלכות שבת פכ"ו):
He prohibited - not walking outside of the city's perimeter on Shabbat. And that is his saying, "let no one leave his place on the seventh day" (Exodus 16:29). And the tradition comes about it - that the limit of walking is that it is forbidden beyond two thousand ells outside of the city, even [only] one ell. But it is permissible to walk two thousand ells in every direction. And the language of the Mekhilta (Mekhilta d'Rabbi Yishmael 16:29:1) is "'Let no one leave his place' - that is the two thousand ells. And in Tractate Eruvin (Eruvin 17b), they said, "We give lashes for the prohibition of perimeters, from the Torah." And the regulations of this commandment have been explained there. (See Parashat Beshalach; Mishneh Torah, Shabbat 26.)
הזהיר שלא להלוך חוץ לתחום המדינה בשבת. והוא אמרו אל יצא איש ממקומו ביום השביעי, ובאה הקבלה שגבול ההליכה שהיא אסורה מה שנוסף על אלפים אמה חוץ מן המדינה ואפילו אמה אחת וללכת אלפים אמה לכל צד מותר. ולשון מכילתא אל יצא איש ממקומו אלו אלפים אמה. ובמסכת עירובין (דף י"ז:) אמרו לוקין על איסורי תחומין דבר תורה. ושם התבארו משפטי מצוה זו. (בשלח, זמנים הלכות שבת פכ"ו):
He prohibited - not walking outside of the city's perimeter on Shabbat. And that is his saying, "let no one leave his place on the seventh day" (Exodus 16:29). And the tradition comes about it - that the limit of walking is that it is forbidden beyond two thousand ells outside of the city, even [only] one ell. But it is permissible to walk two thousand ells in every direction. And the language of the Mekhilta (Mekhilta d'Rabbi Yishmael 16:29:1) is "'Let no one leave his place' - that is the two thousand ells. And in Tractate Eruvin (Eruvin 17b), they said, "We give lashes for the prohibition of perimeters, from the Torah." And the regulations of this commandment have been explained there. (See Parashat Beshalach; Mishneh Torah, Shabbat 26.)