Shulchan Arukh, Orach Chayim Siman 411
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
מי שהיה במזרח ביתו בשדה ואמר לשלוחו לערב לו במערב אם נתן העירוב מהלאה לביתו בענין שהוא רחוק ממנו יותר מאלפים וביתו קרוב לו בתוך אלפים העירוב אינו כלום ונשאר לו שביתת ביתו נתן העירוב בענין שהוא לו בתוך אלפים אע"פ שגם ביתו לו בתוך אלפים קנה שביתה במקום עירובו ולא בביתו:
One whose home is in the east and he placed the eruv in the west. Contains 1 section One who is in the east with his home in the field, and told his agent to make an eruv for him in the west — if the agent placed the eruv beyond his home such that it is more than two thousand cubits from him and his home is closer to him within two thousand cubits, the eruv is void and he retains the Shabbat rest of his home. If the agent placed the eruv such that it is within two thousand cubits of him — even though his home is also within two thousand cubits of him — he acquires Shabbat rest at the place of his eruv and not at his home.