א עַכּוּ"ם שֶׁהִדְלִיק אֶת הַנֵּר בִּשְׁבִיל יִשְׂרָאֵל, אָסוּר לַכֹּל, אֲפִלּוּ לְמִי שֶׁלֹּא הֻדְלַק בִּשְׁבִילוֹ. הַגָּה: וְאֵין חִלּוּק בָּזֶה בֵּין קָצַב לוֹ שָׂכָר אוֹ לֹא קָצַב, אוֹ שֶׁעֲשָׂאוֹ בְּקַבְּלָנוּת אוֹ בִּשְׂכִירוּת, דְּהוֹאִיל וְהַיִּשְׂרָאֵל נֶהֱנֶה מִמְּלָאכָה עַצְמָהּ בְּשַׁבָּת, אָסוּר בְּכָל עִנְיָן (הג"א פ"ק דְּשַׁבָּת וּבֵית יוֹסֵף בְּשֵׁם סְמַ"ג וְסֵפֶר הַתְּרוּמָה) אֲבָל אִם הִדְלִיקוּ לְצָרְכּוֹ אוֹ לְצֹרֶךְ חוֹלֶה יִשְׂרָאֵל, אֲפִלּוּ אֵין בּוֹ סַכָּנָה. הַגָּה: אוֹ לְצֹרֶךְ קְטַנִּים דְּהוּא כְּחוֹלֶה שֶׁאֵין בּוֹ סַכָּנָה (מָרְדְּכַי פ"ק דְּשַׁבָּת), מֻתָּר לְכָל יִשְׂרָאֵל לְהִשְׁתַּמֵּשׁ לְאוֹרוֹ. וְהוּא הַדִּין לְעוֹשֶׂה מְדוּרָה לְצָרְכּוֹ אוֹ לְצֹרֶךְ חוֹלֶה. וְיֵשׁ אוֹסְרִים בִּמְדוּרָה, מִשּׁוּם דְּגָזְרִינַן שֶׁמָּא יַרְבֶּה בִּשְׁבִילוֹ. הַגָּה: מִיהוּ אִם עָשָׂה עַכּוּ"ם בְּבֵית יִשְׂרָאֵל, מִדַּעְתּוֹ, אֵין הַיִּשְׂרָאֵל צָרִיךְ לָצֵאת אַף עַל פִּי שֶׁנֶּהֱנֶה מִן הַנֵּר אוֹ מִן הַמְּדוּרָה (טוּר).
1 The law when a Non-Jew lights a candle on Shabbos. Containing 5 paragraphs: If a Gentile lit a candle for a Jew, it is forbidden for everyone, even for people it was not intended for. Rema: It is immaterial whether a price was prearranged with him i.e. whether he was hired per lighting or per day, or was not hired, for since the Jew is benefiting from the Melacha (forbidden work) itself, it is forbidden under all circumstances. [Ha'gahos Ashiri, Beis Yosef in the name of the Smag] However, if a Gentile lit for his own use or for a Jew who is ill, even if he is not life endangered, Rema: or for the sake of children, who have a status of an ill person not endangered [Mordechai], every Jew may make use of the candlelight. The same applies when a Gentile makes a bonfire for himself or for someone who is sick. Yet there are those that prohibit benefiting from a bonfire lest the Gentile add (to the fire) for him. Rema: Nevertheless if a Gentile did it in a Jew’s house on his own accord, the Jew does not need to leave his house, even though he is benefiting from the candle or fire. [Tur]