Shabbatשבת

Using a Hotel Elevator on Shabbat

Sources discuss the permissibility of asking or benefiting from a non-Jew operating equipment on Shabbat, including the general prohibition against instructing a non-Jew to perform work, exceptions based on pikuach nefesh (saving a life), and the practical halakhic framework governing such situations.

כל דבר שאסור לעשות בשבת אסור לומר לנכרי

15 sources · all verified

Opens as a working sheet — explore, annotate, and export.

Source 1 · Chazal
Verified

recovered from “Mishnah Shabbat 1:3

Mishnah Shabbat

משנה שבת א׳ — ד"ה בֵּית שַׁמַּאי אוֹמְרִים

Mishnah Shabbat 1:7

Beit Shammai prohibit selling items to or loading burdens on a gentile on Friday unless there is time for the gentile to reach a nearby place before Shabbat and the Jew plays no role in prohibited labor, while Beit Hillel permit such transactions; similarly, Beit Shammai prohibit giving skins or clothes to gentile craftsmen unless work can be completed by day, while Beit Hillel permit this as long as the sun is shining on Friday.

בֵּית שַׁמַּאי אוֹמְרִים, אֵין מוֹכְרִין לַנָּכְרִי וְאֵין טוֹעֲנִין עִמּוֹ וְאֵין מַגְבִּיהִין עָלָיו, אֶלָּא כְּדֵי שֶׁיַּגִּיעַ לְמָקוֹם קָרוֹב. וּבֵית הִלֵּל מַתִּירִין: בֵּית שַׁמַּאי אוֹמְרִים, אֵין נוֹתְנִין עוֹרוֹת לְעַבְּדָן וְלֹא כֵלִים לְכוֹבֵס נָכְרִי, אֶלָּא כְּדֵי שֶׁיֵּעָשׂוּ מִבְּעוֹד יוֹם. וּבְכֻלָּן בֵּית הִלֵּל מַתִּירִין עִם הַשָּׁמֶשׁ:

Beit Shammai say: One may only sell an item to a gentile on Shabbat eve, and one may only load a burden on his donkey with him, and one may only lift a burden on him if there remains sufficient time for the gentile to arrive to a near place prior to Shabbat, and the Jew will play no role in the performance of a prohibited labor by the gentile on Shabbat. And Beit Hillel permit doing so. Beit Shammai say: One may not give skins to a gentile tanner, nor clothes to a gentile launderer, unless there is sufficient time for work on them to be completed while it is still day, before Shabbat begins. And in all of them Beit Hillel permit doing so with the sun, i.e., as long as the sun is shining on Friday.

Source 2 · Chazal
Verified

Yoma 84b

יומא פ״ד ב — ד"ה מִפְּנֵי שֶׁסְּפֵק נְפָשׁוֹת הוּא וְכוּ׳

Yoma 84b:3

Any case of uncertainty concerning a life-threatening situation overrides Shabbat, whether the danger applies to the current Shabbat or a future one, and one must act immediately to save a life without seeking permission from a court, even if doing so incidentally involves other Shabbat violations.

מִפְּנֵי שֶׁסְּפֵק נְפָשׁוֹת הוּא וְכוּ׳. לְמָה לִי תּוּ לְמֵימַר: ״וְכׇל סְפֵק נְפָשׁוֹת דּוֹחֶה אֶת הַשַּׁבָּת״? אָמַר רַב יְהוּדָה אָמַר רַב: לֹא סָפֵק שַׁבָּת זוֹ בִּלְבַד אָמְרוּ, אֶלָּא אֲפִילּוּ סָפֵק שַׁבָּת אַחֶרֶת. תָּנוּ רַבָּנַן: מְפַקְּחִין פִּקּוּחַ נֶפֶשׁ בְּשַׁבָּת, וְהַזָּרִיז הֲרֵי זֶה מְשׁוּבָּח, וְאֵין צָרִיךְ לִיטּוֹל רְשׁוּת מִבֵּית דִּין. הָא כֵּיצַד? רָאָה תִּינוֹק שֶׁנָּפַל לַיָּם — פּוֹרֵשׂ מְצוּדָה וּמַעֲלֵהוּ, וְהַזָּרִיז הֲרֵי זֶה מְשׁוּבָּח, וְאֵין צָרִיךְ לִיטּוֹל רְשׁוּת מִבֵּית דִּין. וְאַף עַל גַּב דְּקָא צָיֵיד כְּווֹרֵי. רָאָה תִּינוֹק שֶׁנָּפַל לְבוֹר — עוֹקֵר חוּלְיָא וּמַעֲלֵהוּ, וְהַזָּרִיז הֲרֵי זֶה מְשׁוּבָּח, וְאֵין צָרִיךְ לִיטּוֹל רְשׁוּת מִבֵּית דִּין. אַף עַל גַּב דִּמְתַקֵּן דַּרְגָּא.

§ The mishna states that one with pain in his throat should be given medicine on Shabbat because it is a case of uncertainty concerning a life-threatening situation. The Gemara asks: Why do I need to say furthermore: And any case of uncertainty concerning a life-threatening situation overrides Shabbat? Rav Yehuda said that Rav said: They stated this not only in a case where there is uncertainty with regard to this Shabbat, but even if the uncertainty is with regard to a different future Shabbat. § The Sages taught in a baraita: One engages in saving a life on Shabbat, and one who is vigilant to do so is praiseworthy. And one need not take permission from a court but hurries to act on his own. How so? If one sees a child who fell into the sea, he spreads a fisherman’s net and raises him from the water. And one who is vigilant and acts quickly is praiseworthy, and one need not seek permission from a court, although in doing so he catches fish in the net as well. Similarly, if one sees a child fall into a pit and the child cannot get out, he digs part of the ground out around the edge of the pit to create a makeshift step and raises him out. And one who is vigilant and acts quickly is praiseworthy, and one need not seek permission from a court, although in doing so he fashions a step.

Source 3 · Chazal
Verified

Shabbat 150a

שבת ק״נ א — ד"ה גְּמָ׳ פְּשִׁיטָא מַאי שְׁנָא הוּא וּמַאי

Shabbat 150a:4

This sugya discusses Shabbat-related restrictions and the permissibility of arrangements that lead to melakhah being done on a Jew’s behalf. It is a key Talmudic background source for amirah le-nokhri and indirect benefit.

גְּמָ׳ פְּשִׁיטָא מַאי שְׁנָא הוּא וּמַאי שְׁנָא חֲבֵירוֹ? אָמַר רַב פָּפָּא: חָבֵר גּוֹי. מַתְקֵיף לַהּ רַב אָשֵׁי: אֲמִירָה לְגוֹי שְׁבוּת! אֶלָּא אָמַר רַב אָשֵׁי: אֲפִילּוּ תֵּימָא חֲבֵירוֹ יִשְׂרָאֵל, הָא קָא מַשְׁמַע לַן: לֹא יֹאמַר אָדָם לַחֲבֵירוֹ ״שְׂכוֹר לִי פּוֹעֲלִים״, אֲבָל אוֹמֵר אָדָם לַחֲבֵירוֹ ״הֲנִרְאֶה שֶׁתַּעֲמוֹד עִמִּי לָעֶרֶב?״ וּמַתְנִיתִין מַנִּי — כְּרַבִּי יְהוֹשֻׁעַ בֶּן קׇרְחָה. דְּתַנְיָא: לֹא יֹאמַר אָדָם לַחֲבֵירוֹ ״הֲנִרְאֶה שֶׁתַּעֲמוֹד עִמִּי לָעֶרֶב״. רַבִּי יְהוֹשֻׁעַ בֶּן קׇרְחָה אוֹמֵר: אוֹמֵר אָדָם לַחֲבֵירוֹ ״הֲנִרְאֶה שֶׁתַּעֲמוֹד עִמִּי לָעֶרֶב״. אָמַר רַבָּה בַּר בַּר חָנָה אָמַר רַבִּי יוֹחָנָן: הֲלָכָה כְּרַבִּי יְהוֹשֻׁעַ בֶּן קׇרְחָה. וְאָמַר רַבָּה בַּר בַּר חָנָה אָמַר רַבִּי יוֹחָנָן: מַאי טַעְמָא דְּרַבִּי יְהוֹשֻׁעַ בֶּן קׇרְחָה — דִּכְתִיב: ״מִמְּצוֹא חֶפְצְךָ וְדַבֵּר דָּבָר״. דִּיבּוּר — אָסוּר, הִרְהוּר — מוּתָּר.

GEMARA: The beginning of the mishna taught that one may not hire workers on Shabbat, and one may not tell another to hire workers for him. The Gemara finds this puzzling and states: This is obvious. What is the difference between him and another? Just as he is prohibited from hiring workers on Shabbat, others are also prohibited from doing so. Rav Pappa said: Another is referring to a gentile. Rav Ashi strongly objects to this: This is itself a prohibition, for telling a gentile to do something that is prohibited for a Jew on Shabbat violates a rabbinic prohibition. Rather, Rav Ashi said: Even if you say that it is referring to another Jew, it can be said that the novel element of this ruling is not the statement itself but what can be derived from it. This is what it is teaching us: One may not say to another explicitly on Shabbat: Hire workers for me, but one may say to another: Does it seem that you will join me this evening? This is permitted even though both of them understand that the questioner intends to hire the other person to work for him. And in accordance with whose opinion is the mishna? It is in accordance with the opinion of Rabbi Yehoshua ben Korḥa; as it was taught in a baraita: A person may not say to another on Shabbat: Does it seem that you will join me this evening? Rabbi Yehoshua ben Korḥa says: A person may say to another on Shabbat: Does it seem that you will join me this evening? Rabba bar bar Ḥana said that Rabbi Yoḥanan said: The halakha is in accordance with the opinion of Rabbi Yehoshua ben Korḥa. And Rabba bar bar Ḥana said that Rabbi Yoḥanan said: What is the reason for Rabbi Yehoshua ben Korḥa’s ruling? As it is written in the verse from which we derive the prohibition to speak on Shabbat about activities that one may not perform on that day: “And you shall honor it by not doing your ways, nor pursuing your business, nor speaking of it” (Isaiah 58:13). We derive from this verse that speaking is prohibited, but merely contemplating these matters is permitted.

Source 4 · Rishonim
Verified

Mishneh Torah, Sabbath 6:10

Mishneh Torah, Sabbath 6:10

A Jew may ask a non-Jew on Shabbat to climb a tree or travel across water in order to bring him a shofar.

אוֹמֵר יִשְׂרָאֵל לְנָכְרִי בְּשַׁבָּת לַעֲלוֹת בָּאִילָן אוֹ לָשׁוּט עַל פְּנֵי הַמַּיִם כְּדֵי לְהָבִיא לוֹ שׁוֹפָר.

Source 5 · Rishonim
Verified

Mishneh Torah, Sabbath 2:16

Mishneh Torah, Sabbath 2:16

One is permitted to conduct pikuach nefesh on Shabbat and does not require permission from Beit Din.

מְפַקְּחִין פִּקּוּחַ נֶפֶשׁ בְּשַׁבָּת וְאֵין צָרִיךְ לִטּל רְשׁוּת מִבֵּית דִּין.

Source 6 · Rishonim
Verified

Tur, Orach Chayim 307

טור, אורח חיים ש״ז

Tur, Orach Chayim 307

The Tur lays out the halakhic framework for amirah le-nokhri and related Shabbat restrictions. It provides the classic precursor to the Shulchan Arukh on this topic.

אסור לשכור לו פועלים ולא לומר לעכו"ם לשכור לו פועלים שכל מה שהוא אסור לעשותו אסור לומר לעכו"ם לעשותו ואסור לומר לו אפי' קודם השבת לעשותו בשבת.

Source 7 · Rishonim
Verified

Mishneh Torah, Sabbath 6:1-3

משנה תורה, הלכות שבת ו׳:א׳-ג׳

Mishneh Torah, Sabbath 6:1-3

Rambam discusses the prohibition of directing a non-Jew to perform labor on Shabbat and the limits of benefiting from such work. This is a key early codification of the issue.

אָסוּר לוֹמַר לְנָכְרִי לַעֲשׂוֹת לָנוּ מְלָאכָה בְּשַׁבָּת אַף עַל פִּי שֶׁאֵינוֹ מְצֻוֶּה עַל הַשַּׁבָּת. וְאַף עַל פִּי שֶׁאָמַר לוֹ מִקֹּדֶם הַשַּׁבָּת. וְאַף עַל פִּי שֶׁאֵינוֹ צָרִיךְ לְאוֹתָהּ מְלָאכָה אֶלָּא לְאַחַר הַשַּׁבָּת. וְדָבָר זֶה אָסוּר מִדִּבְרֵי סוֹפְרִים כְּדֵי שֶׁלֹּא תִּהְיֶה שַׁבָּת קַלָּה בְּעֵינֵיהֶן וְיָבוֹאוּ לַעֲשׂוֹת בְּעַצְמָן: נָכְרִי שֶׁעָשָׂה מְלָאכָה מֵעַצְמוֹ בְּשַׁבָּת אִם בִּשְׁבִיל יִשְׂרָאֵל עָשָׂה אוֹתָהּ אָסוּר לֵהָנוֹת בְּאוֹתָהּ מְלָאכָה עַד מוֹצָאֵי שַׁבָּת וְיַמְתִּין בִּכְדֵי שֶׁתֵּעָשֶׂה. וְהוּא שֶׁלֹּא יְהֵא הַדָּבָר בְּפַרְהֶסְיָא עַד שֶׁיֵּדְעוּ בּוֹ רַבִּים שֶׁדָּבָר זֶה בִּשְׁבִיל פְּלוֹנִי הוּא נַעֲשָׂה בְּשַׁבָּת. וְאִם בִּשְׁבִיל עַצְמוֹ בִּלְבַד עָשָׂה מֻתָּר לֵהָנוֹת בָּהּ בְּשַׁבָּת:

It is forbidden for us to tell a gentile to perform work on the Sabbath on our behalf, although they are not commanded [to observe] the Sabbath. [This applies] even when the instructions were conveyed to them before the Sabbath and we do not require [the products of] their work until after the Sabbath. The above is forbidden as a Rabbinical prohibition to prevent the people from regarding the Sabbath lightly, lest they perform [forbidden] labor themselves. [The following rules apply] when a gentile performs a [forbidden] labor on the Sabbath on his own accord: If he performed it on behalf of a Jew, it is forbidden to benefit from that labor until one waits the amount of time necessary to perform the labor on Saturday night. [The latter leniency is granted] provided the matter is not public notice - i.e., everyone knows that a particular task is being performed for a person on the Sabbath. If [the gentile] performed [the labor] for his own sake alone, it is permitted to benefit from it on the Sabbath.

Source 8 · Acharonim
Verified

Sefer Charedim, Positive Commandments 5:24

Sefer Charedim, Positive Commandments 5:24

When an Israelite or a resident alien who observes the seven Noahide commandments is in life-threatening danger—such as drowning, being crushed by a wave, pursued by enemies, or facing false accusations that could lead to execution—there is a Torah obligation to rescue them, and similarly one must exert all effort to treat a dangerously ill person; these pikuach nefesh matters override Shabbat, and one who delays in fulfilling them is considered a murderer, and this obligation includes redeeming captives.

(לו) מי שראה או שמע שאחד מישראל בסכנה כגון שהוא טובע בנהר או שנפל עליו גל או שהיה נרדף מפני רשעים או שהעלילו עליו ואפשר שיהרגוהו אם לא ימהרו ישראל להצילו מצות עשה מן התורה להצילו וכן חולה שיש בו חולי של סכנה מצוה להשתדל לרפאותו בכל עוז וכל אלה מצות פקוח נפש שדוחה שבת והמתרשל בה נקרא שופך דמים ובכלל זה מצות פדיון שבוים ומצות פיקוח נפש נוהגת גם בגר תושב הוא המקיים שבע מצות שנצטוו בני נח שנאמר כי ימוך אחיך ומטה ידו והחזקת בו גר ותושב וחי עמך ממנין תרי״ג לרמב״ן ורשב״ץ:

Source 9 · Acharonim
Verified

Shulchan Arukh, Orach Chayim 307

שולחן ערוך, אורח חיים ש״ז

Shulchan Arukh, Orach Chayim 307

This siman discusses asking a non-Jew to do work on Shabbat and the boundaries of amirah le-nokhri. It is the central practical code base for questions involving a non-Jew operating equipment for a Jew on Shabbat.

אסור לשכור פועלים ולא לומר לעכו"ם לשכור לו פועלים בשבת אע"פ שאין הישראל צריך לאותה מלאכה אלא לאחר השבת שכל מה שהוא אסור לעשותו בשבת אסור לומר לעכו"ם לעשותו אפי' לומר לו קודם השבת לעשותו בשב' אסור אבל מותר לומר לו אחר השבת למה לא עשית דבר פלוני בשבת שעבר אף על פי שמבין מתוך דבריו שרצונו שיעשנו בשבת הבאה: דבר שאינו מלאכה ואינו אסור לעשותו בשבת אלא משום שבות מותר לישראל לומר לעכו"ם לעשותו בשבת והוא שיהיה שם מקצת חולי או יהיה צריך לדבר צורך הרבה או מפני מצוה כיצד אומר ישראל לעכו"ם בשבת לעלות באילן להביא שופר לתקוע תקיעת מצוה או להביא מים דרך חצר שלא עירבו לרחוץ בו המצטער ויש אוסרין:

Source 10 · Acharonim
Verified

Shulchan Arukh HaRav, Orach Chayim 307:1-6

שולחן ערוך הרב, אורח חיים ש״ז:א׳-ו׳

Shulchan Arukh HaRav, Orach Chayim 307:1-6

The Alter Rebbe expands on the laws of instructing a non-Jew on Shabbat and the degree of benefit permitted. His treatment is especially useful for practical borderline cases.

כָּל דָּבָר שֶׁאָסוּר לַעֲשׂוֹת בְּשַׁבָּת מִן הַדִּין — אָסוּר לוֹמַר לְנָכְרִי אֲפִלּוּ מִבְּעוֹד יוֹם לַעֲשׂוֹתוֹ בְּשַׁבָּת, אֲפִלּוּ אֵינוֹ צָרִיךְ לְדָבָר זֶה עַד לְאַחַר הַשַּׁבָּת, כְּגוֹן שֶׁאוֹמֵר לוֹ קֹדֶם הַשַּׁבָּת לִשְׂכּוֹר לוֹ פּוֹעֲלִים בְּשַׁבָּת שֶׁיַּעֲשׂוּ לוֹ מְלָאכָה אַחַר הַשַּׁבָּת. אֲבָל דָּבָר שֶׁאֵינוֹ אֶלָּא חֻמְרָא בְּעָלְמָא לְיִשְׂרָאֵל עַצְמוֹ — יָכוֹל לוֹמַר לְנָכְרִי בְּשַׁבָּת לַעֲשׂוֹתוֹ:

Source 11 · Acharonim
Verified

Mishnah Berurah 307

משנה ברורה ש״ז — ד"ה (ח) לשכור לו פועלים - וה"ה

Mishnah Berurah 307:8

The Mishnah Berurah comments on the laws of asking a non-Jew to do melakhah on Shabbat, including when indirect benefit or need may matter. It is the standard companion to Shulchan Arukh for this siman.

(ח) לשכור לו פועלים - וה"ה כל דבר שאסור לישראל לעשות מצד הדין אסור לומר לא"י לעשותו אבל בדבר שאינו אלא מנהג וחומרא בעלמא שרי לומר לא"י לעשותו:

Source 12 · Acharonim
Verified

Responsa Chatam Sofer, Orach Chayim 59

שו"ת חתם סופר, אורח חיים נ״ט

Responsa Chatam Sofer, Orach Chayim 59

A hired non-Jewish worker employed by a Jewish homeowner to perform labor (such as cooking) may be permitted to work on Shabbat if structured as an areesa arrangement—where the worker receives a share of the produce or benefit of the labor itself rather than direct wages—since this resembles a sharecropping relationship; moreover, if the house is located in a village populated entirely by non-Jews with only one or two Jewish residents who understand this arrangement and where Jewish guests do not commonly pass through on Shabbat, there is no concern for maarit ayin.

שלום רב לעוסק בחוקי חורב משנתו נקי ורב ה"ה המופלג החרוץ הרב מהו' לימא נ"י: נועם מכתבו כלו מחמדים הגיעני על נכון שם חשף זרוע בכחא דהיתרא לחפש זכות בחפש מחופש להנגיד ני' ששכר מהשר בית בשול שכר (ברייאהויז) ופועל נכרי מושכר לו לשנה כי כן דרך כל עושי שכר וטרח למצוא קולא לבשל גם ביום ש"ק להצילו מהפסד גדול מאוד לפי דברי' אם תושבת המלאכה בשבת וכה דבר מעלתו באם יקציב לפועל שיקח לו מכל בישול יורה שכר חביות א' לעצמו באופן שיהנה הפועל מגוף המלאכה יהיה דומה לאריסא ויהיה מותר מדינא ורק משום מראית עין דכיון דלא עביד לאריסותא יאמרו שכירו הוא לזה כ' מעלתו כיון שהבית ההוא עומד בכפר שכלו נכרים ואין דר שם אלא יהודי א' או שנים והם ידעו בהאריסות ולא שכיחי כלל אורחי ישראל דמקלעי התם בשבת כידוע א"כ תו ליכא משום מראית עין אלו דבריו:

Source 13 · Acharonim
Verified

Beit Yosef, Orach Chayim 307

בית יוסף, אורח חיים ש״ז — ד"ה כתב הרמב"ם שאמירה לעכו"ם מותרת בשבות

Beit Yosef, Orach Chayim 307:5

The Beit Yosef gathers the earlier sources underlying the rules of asking a non-Jew to perform melakhah on Shabbat. It helps identify the conceptual basis for later rulings.

כתב הרמב"ם שאמירה לעכו"ם מותרת בשבות דרבנן וכו' בפ"ו וז"ל דבר שאינו מלאכה ואינו אסור לעשותו בשבת אלא משום שבות מותר לישראל לומר לעכו"ם לעשותו בשבת והוא שיהיה שם מקצת חולי או יהיה צריך לדבר צורך הרבה או מפני מצוה כיצד אומר ישראל לעכו"ם בשבת לעלות באילן וכו' וכתב ה"ה זה מוסכם מהגאונים שדוחין שבות דשבות לגבי אמירה לעכו"ם במכשירי מילה אע"פ שאין דוחין את השבת ולמדו כן ממה שאמר בפרק הדר (עירובין סז:) שמותר לומר לעכו"ם להביא חמין לתינוק דרך מבוי שאינו מעורב ומכאן למד רבינו לכל המצות ויש חולקין ואומרים דמילה שאני דניתנה שבת לידחות אצלה אבל בשאר מצות אסור וכן סוברים שאינו מותר אלא במקום חולי גמור עכ"ל וגם הר"ן כתב שתי סברות אלו בס"פ רבי אליעזר דמילה וכתוב בסוף הגהות אחרונות דמרדכי שראבי"ה סובר כהרמב"ם.

Source 14 · Acharonim
Verified

recovered from “Chafetz Chaim Hilchot Shabbat

Mishnah Berurah

משנה ברורה שכ״ח:י״א

Mishnah Berurah 328:11

The passage states that although a non-Jew opening his mouth and producing speech to assist involves some degree of assistance, it is established halakhically that such assistance does not constitute real help (mesiayea); while the Taz extends this discussion and is inclined to be stringent, many later authorities follow the Shulchan Aruch's position.

(יא) אומר וכו' - ואע"ג דהוא פותח פיו וממציא את שינו להוציאו קי"ל דמסייע אין בו ממש ובט"ז מאריך בענין זה ודעתו להחמיר אבל הרבה אחרונים דעתם כהשו"ע:

Source 15 · Modern
Verified

Peninei Halakhah, Shabbat 25

פניני הלכה, שבת כ״ה — ד"ה מלאכת גוי / איסור אמירה לנכרי

Peninei Halakhah, Shabbat 25:1

Peninei Halakhah discusses contemporary Shabbat questions involving technology, indirect benefit, and non-Jewish assistance. It can help frame modern elevator-use scenarios in applied halakhah.

ואף שמותר לגוי לעשות מלאכה בשבת, אסרו חכמים ליהודי לבקש מגוי שיעשה עבורו מלאכה בשבת. ולמדו חכמים סמך לזה ממה שנאמר (שמות יב, טז): "כָּל מְלָאכָה לֹא יֵעָשֶׂה בָהֶם", לא נאמר "לא תעשה" אלא "לֹא יֵעָשֶׂה", הרי שמן הראוי, ששום מלאכה לא תיעשה עבור ישראל בשבתות וימים טובים. וכפי שאמרו חכמים (שם במכילתא): "לא יֵעָשֶׂה – לא תעשה אתה ולא יעשה חברך ולא יעשה גוי מלאכתך". ואפילו מלאכה שאסורה מדברי חכמים אסור לבקש מגוי לעשות, אמנם לצורך גדול או לצורך מצווה מותר (כמבואר להלן הלכה ד-ה). מה שלמדנו, שאסור ליהנות ממלאכה שעשה גוי בשבת, זהו דווקא במקרה שהגוי עשה את המלאכה עבור יהודי. אבל אם עשה אותה עבור עצמו או עבור גוי אחר, מותר לכל ישראל ליהנות ממנה. למשל, אם הגוי הדליק אור לעצמו, כגון שרצה לקרוא בספר, מותר לכל יהודי ליהנות מהאור (שו"ע או"ח רעו, ב). ולא זו בלבד, אלא אפילו אם הגוי התכוון להדליק את האור גם עבור עצמו וגם עבור יהודי, כיוון שבכל מקרה היה צריך להדליק את האור לעצמו, מותר ליהודי ליהנות ממנו (ח"א, ערוה"ש, אורח חיים רעו, ח, ולכך נוטה באו"ה רעו, ב, 'ואם', ושלא כמ"א).

Although a non-Jew may do melakha on Shabbat, the Sages forbade a Jew to ask a non-Jew to do melakha for him on Shabbat. This includes even rabbinically prohibited activities. The Sages found support for this from the wording of the verse: “No melakha shall be done on them” (Shemot 12:16). The verse does not use the active “Do not do melakha,” but rather the passive “No melakha shall be done.” Thus we see that it is proper that no melakha is done for a Jew on Shabbat or Yom Tov. As the Midrash elaborates: “‘No melakha shall be done’ – neither by you, nor by your friend, nor by a non-Jew” (Mekhilta ad loc.). The prohibition on benefiting from a melakha done by a non-Jew on Shabbat is limited to a case where the non-Jew undertook the melakha for the benefit of a Jew. However, if he did the melakha for himself or for another non-Jew, then a Jew may benefit from it. For example, if a non-Jew turned on a light because he wanted to read a book, a Jew may benefit from this light (SA 276:2). Moreover, even if the non-Jew intended to turn on the light for both himself and a Jew, the Jew may benefit from it since in any case the non-Jew needed to turn on the light for himself (Ḥayei Adam; AHS 276:8; BHL 276:2 s.v. “ve-im” is inclined this way as well, in contrast to MA).