The Shulchan Aruch · Orach Chayim
אורח חיים תצ״אOrach Chayim 491
Siman 491 of 697 in Orach Chayim — 2 se'ifim
הלכות פסחLaws of Passover· siman 491
Se’if 1א׳
בְּמוֹצָאֵי יוֹם טוֹב, בֵּין בְּמוֹצָאֵי יוֹם טוֹב לְחֹל בֵּין בְּמוֹצָאֵי יוֹם טוֹב לְחֻלּוֹ שֶׁל מוֹעֵד, מַבְדִּיל בַּתְּפִלָּה כְּמוֹ בְּמוֹצָאֵי שַׁבָּת, אֶלָּא שֶׁאֵינוֹ מְבָרֵךְ לֹא עַל הַנֵּר וְלֹא עַל הַבְּשָׂמִים.
The Havdalah service on the conclusion of a festival contains two parts. On the conclusion of a festival, whether it is the conclusion of a festival to a weekday or to an intermediate day, one recites the Havdalah prayer in the same way as one does at the conclusion of Shabbat, and recites the Havdalah blessing over a cup, but without reciting the blessings over the candle and the spices.
Se’if 2ב׳
יוֹם טוֹב שֶׁחָל לִהְיוֹת בְּמוֹצָאֵי שַׁבָּת אוֹמֵר בְּאַתָּה בְחַרְתָּנוּ, וַתּוֹדִיעֵנוּ.
When a holiday falls on Saturday night, one adds "and You made known to us" in [the blessing of] "You have chosen us"
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0