יד כְּשֵׁם שֶׁאָדָם מְצֻוֶּה עַל שְׁבִיתַת בְּהֶמְתּוֹ בְּשַׁבָּת כָּךְ הוּא מְצֻוֶּה עַל שְׁבִיתַת עַבְדּוֹ וַאֲמָתוֹ וְאַף עַל פִּי שֶׁהֵן בְּנֵי דַּעַת וּלְדַעַת עַצְמָן עוֹשִׂין מִצְוָה עָלֵינוּ לְשָׁמְרָן וּלְמָנְעָן מֵעֲשִׂיַּת מְלָאכָה בְּשַׁבָּת שֶׁנֶּאֱמַר (שמות כג יב) "לְמַעַן יָנוּחַ שׁוֹרְךָ וַחֲמֹרֶךָ וְיִנָּפֵשׁ בֶּן אֲמָתְךָ וְהַגֵּר". עֶבֶד וְאָמָה שֶׁאָנוּ מְצֻוִּין עַל שְׁבִיתָתָן הֵם עֲבָדִים שֶׁמָּלוּ וְטָבְלוּ לְשֵׁם עַבְדוּת וְקִבְּלוּ מִצְוֹת שֶׁהָעֲבָדִים חַיָּבִין בָּהֶן. אֲבָל עֲבָדִים שֶׁלֹּא מָלוּ וְלֹא טָבְלוּ אֶלָּא קִבְּלוּ עֲלֵיהֶן שֶׁבַע מִצְוֹת שֶׁנִּצְטַוּוּ בְּנֵי נֹחַ בִּלְבַד הֲרֵי הֵן כְּגֵר תּוֹשָׁב וּמֻתָּרִין לַעֲשׂוֹת מְלָאכָה בְּשַׁבָּת לְעַצְמָן בְּפַרְהֶסְיָא כְּיִשְׂרָאֵל בְּחל. וְאֵין מְקַבְּלִין גֵּר תּוֹשָׁב אֶלָּא בִּזְמַן שֶׁהַיּוֹבֵל נוֹהֵג. הוֹאִיל וְגֵר תּוֹשָׁב עוֹשֶׂה מְלָאכָה לְעַצְמוֹ בְּשַׁבָּת וְגֵר צֶדֶק הֲרֵי הוּא כְּיִשְׂרָאֵל לְכָל דָּבָר. בְּמִי נֶאֱמַר וְיִנָּפֵשׁ בֶּן אֲמָתְךָ וְהַגֵּר. זֶה גֵּר תּוֹשָׁב שֶׁהוּא לְקִיטוֹ וּשְׂכִירוֹ שֶׁל יִשְׂרָאֵל כְּמוֹ בֶּן אֲמָתוֹ. שֶׁלֹּא יַעֲשֶׂה מְלָאכָה לְיִשְׂרָאֵל רַבּוֹ בְּשַׁבָּת אֲבָל לְעַצְמוֹ עוֹשֶׂה. וַאֲפִלּוּ הָיָה הַגֵּר זֶה עַבְדּוֹ הֲרֵי זֶה עוֹשֶׂה לְעַצְמוֹ:
14 In the same way as one is commanded about his animal resting, so too is he commanded about the his slave and maidservant resting. And even though they have [their own] minds—so they do it according to their own minds—it is a commandment to us to guard them and prevent them from doing work on Shabbat; as it is stated (Exodus 23:12), "in order that your ox and your donkey may rest, and that your bondman and the stranger may be refreshed." The slave and maidservant the resting of whom we are commanded about are slaves that are circumcised and immersed for the sake of servitude, and have accepted the [Torah's] commandments that a slave is obligated [to observe]. But slaves that are not circumcised and have not immersed—but rather only accepted upon themselves the seven commandments that the Children of Noah were commanded—are surely like a resident stranger, so they are permitted to publicly do work for themselves on Shabbat, like an Israelite on [a weekday]. And we only accept a resident alien at the time when the Jubilee is observed. Since a resident alien may do work for himself on Shabbat and a righteous alien (convert) is surely like an Israelite in every matter, about whom is it stated, "and that your bondman and the stranger may be refreshed?" This is [about] the resident alien who is the harvester or hired laborer of an Israelite, [and who is] like his bondman in that he may not do work for his Israelite master on Shabbat. But he may do [so] for himself. And even if this alien was his slave, [the alien] may certainly do [work] for himself.