ביצה ב:א · Beitzah 2:1
יוֹם טוֹב שֶׁחָל לִהְיוֹת עֶרֶב שַׁבָּת, לֹא יְבַשֵּׁל אָדָם בַּתְּחִלָּה מִיּוֹם טוֹב לַשַּׁבָּת, אֲבָל מְבַשֵּׁל הוּא לְיוֹם טוֹב, וְאִם הוֹתִיר, הוֹתִיר לַשַּׁבָּת, וְעוֹשֶׂה תַבְשִׁיל מֵעֶרֶב יוֹם טוֹב וְסוֹמֵךְ עָלָיו לַשַּׁבָּת. בֵּית שַׁמַּאי אוֹמְרִים, שְׁנֵי תַבְשִׁילִין. וּבֵית הִלֵּל אוֹמְרִים, תַּבְשִׁיל אֶחָד. וְשָׁוִין בְּדָג וּבֵיצָה שֶׁעָלָיו שֶׁהֵן שְׁנֵי תַבְשִׁילִין. אֲכָלוֹ אוֹ שֶׁאָבַד, לֹא יְבַשֵּׁל עָלָיו בַּתְּחִלָּה. וְאִם שִׁיֵּר מִמֶּנּוּ כָל שֶׁהוּא, סוֹמֵךְ עָלָיו לַשַּׁבָּת:
With regard to a Festival that occurs on Shabbat eve, one may not cook on the Festival with the initial intent to cook for Shabbat. However, he may cook on that day for the Festival itself, and if he left over any food, he left it over for Shabbat. The early Sages also instituted an ordinance: The joining of cooked foods [ eiruv tavshilin ], which the mishna explains. One may prepare a cooked dish designated for Shabbat on a Festival eve and rely on it to cook on the Festival for Shabbat. The tanna’im disagreed with regard to the details of this ordinance: Beit Shammai say: For the purpose of the joining of cooked foods one must prepare two cooked dishes, and Beit Hillel say: One dish is sufficient. And they both agree with regard to a fish and the egg that is fried on it that these are considered two dishes for this purpose. If one ate the food prepared before the Festival as an eiruv and none of it remained for Shabbat, or if it was lost, he may not rely on it and cook with the initial intent to cook for Shabbat. If he left any part of the eiruv , he may rely on it to cook for Shabbat.
Word-by-word Breakdown (מילים ושרשים)
יוֹם → a day of [י - ו - ם]טוֹב → Festival [ט - ו - ב]שֶׁחָל → that occurs [ח - ו - ל]לִהְיוֹת → to be [ה - י - ה]עֶרֶב → eve of [ע - ר - ב]שַׁבָּת → Shabbat [ש - ב - ת]לֹא → not יְבַשֵּׁל → may cook [ב - ש - ל]אָדָם → a person [א - ד - ם]בַּתְּחִלָּה → initially [ת - ח - ל]מִיּוֹם → from [י - ו - ם]טוֹב → Festival [ט - ו - ב]לַשַּׁבָּת → for Shabbat [ש - ב - ת]אֲבָל → however מְבַשֵּׁל → he may cook [ב - ש - ל]הוּא → he לְיוֹם → for [י - ו - ם]טוֹב → Festival [ט - ו - ב]וְאִם → and if הוֹתִיר → he left over [י - ת - ר]הוֹתִיר → he left over [י - ת - ר]לַשַּׁבָּת → for Shabbat [ש - ב - ת]וְעוֹשֶׂה → and he prepares [ע - ש - ה]תַבְשִׁיל → a cooked dish [ב - ש - ל]מֵעֶרֶב → from eve of [ע - ר - ב]יוֹם → Festival [י - ו - ם]טוֹב → day [ט - ו - ב]וְסוֹמֵךְ → and relies [ס - מ - ך]עָלָיו → on it לַשַּׁבָּת → for Shabbat [ש - ב - ת]בֵּית → Beit [ב - י - ת]שַׁמַּאי → Shammai אוֹמְרִים → say [א - מ - ר]שְׁנֵי → two [ש - נ - ה]תַבְשִׁילִין → cooked dishes [ב - ש - ל]