886. When to Recite Kiddush and Havdalah
Shabbos 29:3
Next, the Rambam provides the text of havdalah:
Blessed are You, Hashem our God, King of the universe, Who separates between the holy and the mundane, between light and darkness, between Israel and the other nations, and between the seventh day and the six days of labor. Blessed are You, Hashem, who separates between the holy and the mundane.
Shabbos 29:4
The mitzvah of sanctifying Shabbos is to be performed at night. If one does not recite kiddush at night, whether by choice or by accident, he may recite it at any point during the day. If one did not recite havdalah at night, he may do so the next day; in fact, one may recite havdalah through Tuesday (until nightfall, which would be Wednesday in halacha). The blessing recited over a flame, however, is only said on Saturday night.