יוֹם טוֹב שֶׁחָל לִהְיוֹת עֶרֶב שַׁבָּת אֵין אוֹפִין וּמְבַשְּׁלִין בְּיוֹם טוֹב מַה שֶּׁהוּא אוֹכֵל לְמָחָר בְּשַׁבָּת. וְאִסּוּר זֶה מִדִּבְרֵי סוֹפְרִים כְּדֵי שֶׁלֹּא יָבֹא לְבַשֵּׁל מִיּוֹם טוֹב לְחל. שֶׁקַּל וָחֹמֶר הוּא לְשַׁבָּת אֵינוֹ מְבַשֵּׁל כָּל שֶׁכֵּן לְחל. לְפִיכָךְ אִם עָשָׂה תַּבְשִׁיל מֵעֶרֶב יוֹם טוֹב שֶׁיִּהְיֶה סוֹמֵךְ עָלָיו וּמְבַשֵּׁל וְאוֹפֶה בְּיוֹם טוֹב לְשַׁבָּת הֲרֵי זֶה מֻתָּר. וְתַבְשִׁיל שֶׁסּוֹמֵךְ עָלָיו הוּא הַנִּקְרָא עֵרוּבֵי תַּבְשִׁילִין:
When a holiday falls on Friday, on the holiday that precedes the Sabbath we may not bake or cook the food that will be eaten on the Sabbath. This prohibition is Rabbinic in origin, so that one will not prepare food on a holiday for a subsequent weekday. For a person will make the deduction: Since he is not [allowed to] cook for the Sabbath [on a holiday], surely, [he may not cook] for a weekday. Therefore, a person who prepares a portion of food on the day prior to the holiday, and he relies on it, is permitted to cook and bake for the Sabbath on the holiday. The portion of food on which he relies is referred to as an eruv tavshilin.
