The Talmud
מועד קטן דף י״בMoed Katan 12a
Amud a of Moed Katan 12 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Moed Katan 12a · מועד קטן י״ב א
אמר שמואל מקבלי קיבולת בתוך התחום אסור חוץ לתחום מותר
Shmuel said: those who take on contract work — within the Sabbath limit it is forbidden; outside the Sabbath limit it is permitted.
אמר רב פפא ואפי' חוץ לתחום לא אמרן אלא דליכא מתא דמקרבא להתם אבל איכא מתא דמקרבא להתם אסור
Rav Pappa said: and even outside the limit, we said this only where there is no town close to there; but where there is a town close to there, it is forbidden.
אמר רב משרשיא וכי ליכא מתא דמקרבא להתם נמי לא אמרן אלא בשבתות ובימים טובים דלא שכיחי אינשי דאזלי להתם אבל בחוש"מ דשכיחי אינשי דאזלי ואתו להתם אסור
Rav Mesharshiya said: and even where there is no town close to there, we said this only of Sabbaths and festival days, when people who go there are not common; but during the intermediate days of a festival, when people who go and come there are common, it is forbidden.
מר זוטרא בריה דרב נחמן בנו ליה אפדנא מקבלי קיבולת חוץ לתחום איקלע רב ספרא ורב הונא בר חיננא ולא עלו לגביה ואיכא דאמרי הוא נמי לא על בגוויה
Mar Zutra the son of Rav Nachman — contractors built him a palace outside the limit. Rav Safra and Rav Huna bar Chinena happened to come there, and they did not go in to him. And some say: he too did not go into it.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.