The Shulchan Aruch · Orach Chayim
אורח חיים תרצ״גOrach Chayim 693
Siman 693 of 697 in Orach Chayim — 4 se'ifim
הלכות מגילהLaws of Purim· siman 693
Se’if 1א׳
אַחַר קְרִיאַת הַמְּגִלָּה בְּעַרְבִית, אוֹמֵר: וְאַתָּה קָדוֹשׁ, וְאִם חָל בְּמוֹצָאֵי שַׁבָּת אוֹמֵר: וִיהִי נֹעַם, קֹדֶם וְאַתָּה קָדוֹשׁ. הַגָּה: וְאוֹמְרִים: וְיִתֶּן לְךְ, וְקוֹרִים הַמְּגִלָּה וְאַחַר כָּךְ מַבְדִּילִין (מִנְהָגִים).
Order of Prayer on Purim. Containing 4 paragraphs: After you read the megillah at Maariv say Ve'atah kadosh and if it falls on Motzi Shabbos say Vayehi Noam prior to Ve'atah Kadosh. Rema: and say Vayitain Licha and say the the Megillah and afterwards Havdalah. (Minahgim)
Se’if 2ב׳
אוֹמֵר: עַל הַנִּסִים, בַּלַּיְלָה וּבַיּוֹם. הַגָּה: וְאִם לֹא אֲמָרוֹ, אֵין מַחֲזִירִין אוֹתוֹ (טוּר). וְאֵין אוֹמְרִים עַל הַנִּסִּים רַק בְּיוֹם י"ד, אֲבָל לֹא בְּט"ו (בֵּית יוֹסֵף בְּשֵׁם א"ח וּמִנְהָגִים); וּבְלֵיל י"ד, אַף עַל פִּי שֶׁלֹּא קָרְאוּ הַמְּגִלָּה עֲדַיִן, אוֹמֵר עַל הַנִּסִּים, בִּתְפִלַּת עַרְבִית. (הַגָּהוֹת מַיְמוֹנִי פ"ב).
Say Al Hanisim during the night and day. Rema: If you didn't say it you don't repeat (Tur) and Al Hanisim is only said on the 14th but not the 15th. (Beis Yosef in the name of A"Ch and Minhagim) On the night of the 14th even though they haven't read the Megillah you say Al hanisim in Maariv. (Hagahot Maimoniyot Ch. 2)
Se’if 3ג׳
אֵין קוֹרִין בּוֹ הַלֵּל, וְאֵין נוֹפְלִים עַל פְּנֵיהֶם. הַגָּה: וְאֵין אוֹמְרִים לַמְנַצֵּחַ וְלֹא אֵל אֶרֶךְ אַפַּיִם (מִנְהָגִים וּבֵית יוֹסֵף בְּשֵׁם תּוֹסָפוֹת).
We don't say Hallel and Tachnun. Rema: We don't say Lamatzeach and El Erech Apayim (Minhagim and Beit Yosef in the name of Tosfos)
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0