Shulchan Aruch HaRav · 1 Clauses
שֻׁלְחָן עָרוּךְ הָרַב · 1 סְעִיפִים
The following laws apply when] a non-Jew enters one of the homes in a courtyard as a guest:1 One who enters [a domain] without permission never causes [carrying] to be forbidden, If, [however,] one enters with permission – [i.e.,] a separate room was rented or lent to him [where he may] eat2 – and [the person] frequently comes [as a guest], he causes [carrying] to be forbidden as soon as he arrives. If [the person] comes infrequently, he does not cause [carrying] to be forbidden until 30 days pass, as explained in sec. 370[:10] regarding to a Jewish guest. A non-Jew who is owed a debt for which the house was pledged as security is considered as one who enters with permission.
Different rules apply] when a king’s soldiers enter the homes of his Jewish [subjects] – some of them entering by force and some entering with consent.3 If the owners of the homes have articles in the rooms in which the non-Jews entered that may not be moved on Shabbos, [the non-Jews’ presence] does not cause [carrying] to be forbidden in any case.4 If [the Jewish owners] do not have [articles in the rooms being used by the non-Jews, the non-Jews] cause [carrying] to be forbidden in the courtyards that they entered with consent after 30 days pass,5 even though they do not frequently come there. However, those [non-Jewish soldiers] who enter by force never cause [carrying] to be forbidden.
(All the above applies with regard to guests who do not [stay there on] a continuous basis. When, by contrast, one rents a house to a non-Jew to live there for a year or two on a continuous basis, [the] presence [of the non-Jew] does not cause [carrying] to be forbidden in any case. [The rationale is that the owner] certainly did not rent out his house [to the non-Jew] with the intent that [the non-Jew] should cause [the Jewish owner] to be forbidden [to carry in his courtyard] on a continuous basis for an entire year, as explained in sec. 382[:2].)
Translated by Rabbi Eliyahu Touger and Uri Kaploun.
Rabbi Shneur Zalman of Liadi (18 Elul 1745 – 24 Tevet 1812), known as “the Alter Rebbe,” was one of the main disciples of the Maggid of Mezritch, and the founder of Chabad Chassidism. He is the author of Shulchan Aruch HaRav and Tanya as well as many other major works in both Jewish law and the mystical teachings.