The Shulchan Aruch · Orach Chayim
אורח חיים תקי״בOrach Chayim 512
Siman 512 of 697 in Orach Chayim — 3 se'ifim
הלכות יום טובLaws of the Festivals· siman 512
Se’if 1א׳
אֵין מְבַשְּׁלִים לְצֹרֶךְ עַכּוּ"ם בְּיוֹם טוֹב, לְפִיכָךְ אָסוּר לְהַזְמִינוֹ שֶׁמָּא יַרְבֶּה בִּשְׁבִילוֹ; וְדַוְקָא לְהַזְמִינוֹ, הַגָּה: לְבֵיתוֹ, אֲבָל לִשְׁלֹחַ לוֹ לְבֵיתוֹ עַל יְדֵי עַכּוּ"ם, שָׁרֵי, (הַגָּהוֹת מַיְמוֹנִי פ"א בְּשֵׁם אוֹר זָרוּעַ); אֲבָל עַבְדּוֹ וְשִׁפְחָתוֹ, וְכֵן שָׁלִיחַ שֶׁנִּשְׁתַּלַּח לוֹ, וְכֵן עַכּוּ"ם שֶׁבָּא מֵאֵלָיו, מֻתָּר לְהַאֲכִילוֹ עִמּוֹ וְלֹא חַיְישִׁינָן שֶׁמָּא יַרְבֶּה בִּשְׁבִילוֹ. הַגָּה: וּמֻתָּר לְהַרְבּוֹת בִּשְׁבִיל עַבְדּוֹ וְשִׁפְחָתוֹ בְּאוֹתָהּ קְדֵרָה שֶׁמְּבַשֵּׁל בָּהּ לְעַצְמוֹ, (מָרְדְּכַי פ"ב דְּבֵיצָה), אֲבָל לִשְׁאָר עַכּוּ"ם, בְּכָל עִנְיָן אָסוּר, (א"ח וְתוֹסָפוֹת). וְיִשְׂרָאֵל הָאוֹפֶה בְּתַנּוּר שֶׁל עַכּוּ"ם וְצָרִיךְ לָתֵת לוֹ פַּת אֶחָד, לֹא יְיַחֵד לְעַכּוּ"ם אֶחָד קֹדֶם אֲפִיָּה, דְּאָז אוֹפֶה שֶׁל עַכּוּ"ם, אֶלָּא יֹאפֶה סְתָם וְיִתֵּן לוֹ אַחַר כָּךְ אֶחָד (כָּל בּוֹ).
Not to cook for a non-Jew on Yom Tov. 3 sections: One may not cook for a non-Jew on Yom Tov. Therefore it is forbidden to invite him, lest one cook extra on his account — and specifically inviting him Rema: to one's home; but sending food to his home via a non-Jew is permitted. (Hagahot Maimoniyot ch. 1 in the name of Or Zarua) But one's male or female servant, as well as a messenger who was sent to him, and similarly a non-Jew who comes on his own — it is permitted to feed them along with oneself, and we are not concerned that one will cook extra on their account. Rema: It is permitted to cook extra for one's male or female servant in the same pot one is cooking in for oneself. (Mordechai ch. 2 of Beitzah) But for other non-Jews it is forbidden in any case. (Orchot Chayyim and Tosafot) A Jew who bakes in a non-Jew's oven and must give him one loaf — he should not designate a specific loaf for the non-Jew before baking, as that would mean he is baking for the non-Jew; rather he should bake without designation and then give him one afterward. (Kol Bo)
Se’if 2ב׳
בְּנֵי הַחַיִל שֶׁנָּתְנוּ קֶמַח שֶׁלָּהֶם לְיִשְׂרָאֵל לֶאֱפוֹת לָהֶם פַּת, אִם אֵינָם מַקְפִּידִים כְּשֶׁיִּשְׂרָאֵל נוֹתֵן מִמֶּנּוּ לְתִינוֹק, מֻתָּר לֶאֱפוֹת לָהֶם.
Soldiers who gave their flour to a Jew to bake bread for them — if they do not object when the Jew gives some of it to a child, it is permitted to bake for them.
Se’if 3ג׳
אָסוּר לְבַשֵּׁל וְלֶאֱפוֹת לְצֹרֶךְ כְּלָבִים, אֲבָל מֻתָּר לְטַלְטֵל מְזוֹנוֹת וְלִתֵּן לִפְנֵיהֶם. הַגָּה: אֲבָל אָסוּר לְהוֹצִיא בִּשְׁבִילָן מֵרְשׁוּת לִרְשׁוּת, (הג"מ וְהַמַּגִּיד פ"א). וְכֵן אָסוּר לְגַבֵּל הַמּוּרְסָן לְעוֹפוֹת, (מָרְדְּכַי), כִּי אִם עַל יְדֵי שִׁנּוּי, (כָּל בּוֹ). וּמֻתָּר לְהַרְבּוֹת בִּשְׁבִיל הַכְּלָבִים בְּאוֹתָהּ קְדֵרָה שֶׁמְּבַשֵּׁל בָּהּ לְעַצְמוֹ, אֲפִלּוּ אִם יֵשׁ לוֹ דָּבָר אַחֵר שֶׁיּוּכַל לִתֵּן לַכְּלָבִים אִם הָיָה רוֹצֶה, (בֵּית יוֹסֵף בְּשֵׁם הָרַ"ן וְהַיְּרוּשַׁלְמִי).
It is forbidden to cook or bake for dogs, but it is permitted to handle food and place it before them. Rema: But it is forbidden to carry it out for him from one domain to another. (Hagahot Maimoniyot and HaMagid ch. 1) Similarly it is forbidden to knead bran for fowl (Mordechai) except with a change. (Kol Bo) It is permitted to cook extra for the dogs in the same pot one is cooking in for oneself, even if one has something else one could give the dogs if one wished. (Beit Yosef in the name of Ran and the Yerushalmi)
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0