An Israelite and a non-Jew who were reclining together and he lit the candle: if the majority are non-Jews—it is permitted to use its light, and if the majority are Israelites—it is forbidden to use its light, for presumably he lit for the sake of the majority. And even half and half—it is forbidden, for there is no clarity that he lit not for the sake of the Israelites. However, if there is some proof that he lit for himself, such as if we see that immediately upon lighting he uses its light, then even with a majority of Israelites—it is permitted, for we see that he lit for himself. And even if we say that his intention was for both of them—it is also permitted, as I wrote in section 5. However, if the non-Jew is in the house of the Israelite, and knows that for an Israelite it is forbidden, and he acts with deception to light the candle and use it a little so that the Israelite may use it—it is certainly forbidden, for his primary intention is for the sake of the Israelite. (Piskei Tosafot, chapter Kol Kitvei)
And I remember in my youth they used to practice on Shabbat nights in the winter, when the nights were long, they would call a non-Jew to ask him: do you desire a flask of brandy, and he would say that he desires it, and they would answer him, it is our desire to give it to you, but what can we do as it is impossible to find it in the dark. And he would light a candle and drink the brandy and go on his way, and they used the light. And it seems that it is completely permitted with a non-Jew who is not accustomed to it, and there is no concern that he is acting with deception. And even though the Israelite performs a deception in this—nevertheless, what do we care, ultimately the lighting is for him alone. This is not the case if the non-Jew is the one acting with deception—then the lighting is for the sake of the Israelite, and it is forbidden. And this is the principle: that if according to our understanding he is not acting with deception to do a favor for the Israelite, but rather for himself he acts—even if he is a member of the household it is permitted. And if not—even if he is not a member of the household it is forbidden, except that most often a member of the household may be acting with deception, and therefore one must understand this.
ישראל ואינו יהודי שהסיבו יחד והדליק הנר: אם רוב אינם יהודים - מותר להשתמש לאורו, ואם רוב ישראל - אסור להשתמש לאורו, דמסתמא הדליק בשביל הרוב. וגם מחצה על מחצה - אסור, דאין בירור שהדליק שלא בשביל הישראלים. אמנם אם יש איזה הוכחה שבשביל עצמו הדליק, כגון שאנו רואים שמיד שהדליק משתמש לאורה, אז אפילו ברוב ישראל - מותר, שהרי רואים שבשביל עצמו הדליק. ואפילו אם נאמר שכוונתו היתה לשניהם - גם כן מותר, כמ"ש בסעיף ה'. אמנם אם האינו יהודי הוא בבית הישראל, ויודע שבשביל ישראל אסור, והוא מערים להדליק הנר ולהשתמש בו מעט כדי שישתמש בו הישראל - וודאי אסור, דעיקר כוונתו הוא בשביל הישראל. (פסקי תוספות פרק כל כתבי)ונהירנא בילדותי היו נוהגין בלילי שבת בחורף, שהלילות ארוכין היו, קורין לאינו יהודי לשאל לו: רצונך בצנצנת יי"ש, והיה אומר שרוצה, והשיבו לו רצונ[י]נו ליתן לך, אבל מה נעשה שאי אפשר למצא בחשך. והיה מדליק נר ושותה היי"ש והולך לו, והשתמשו לאורו. ונראה דהיתר גמור הוא באינו יהודי שאינו רגיל בו, וליכא למיחש שמערים. ואף על גב דהישראל עושה הערמה בזה - מכל מקום מה איכפת לנו, סוף סוף ההדלקה היא בשבילו בלבד. מה שאין כן אם האינו יהודי הוא המערים - הוה ההדלקה בשביל הישראל, ואסור. וזהו העיקר: דאם לפי הבנת[י]נו אינו כמערים לעשות טובה להישראל, אלא בשביל עצמו עושה - אפילו הוא בן בית מותר. ואם לאו - אפילו אינו בן בית אסור, אלא דעל פי רוב יכול בן בית להיות כמערים, ולכן יש להבין בזה.