Curated Torah sources across every topic, from classical texts to contemporary responsa.
These sources establish the rules for food preparation when Yom Tov falls before Shabbat. While cooking is permitted on Yom Tov for that day's needs, one may not cook on Yom Tov specifically for Shabbat unless an eruv tavshilin (a preparatory act) is made beforehand. The sources also clarify that the reverse—cooking on Shabbat for Yom Tov—is prohibited.
יוֹם טוֹב שֶׁחָל לִהְיוֹת עֶרֶב שַׁבָּת — לֹא יְבַשֵּׁל בַּתְּחִלָּה מִיּוֹם טוֹב לְשַׁבָּת