Should the Shabbat or Purim addition remain in Birkat Hamazon if the meal ends after nightfall?
The Rosh determines the text of Birkat Hamazon by the time it is recited, so the relevant addition is omitted once Shabbat or Purim has ended. According to the Bach and Aruch Hashulchan’s understanding of the Maharam, the beginning of the meal determines the text, while the Taz understands that either beginning the meal or reciting Birkat Hamazon on the special day is sufficient. The article’s stated halachic consensus is to recite Retzei or Al Hanissim when a meal began on Shabbat or Purim and continued into the night. In presenting the first understanding of the Maharam, the author specifies that Retzei is no longer recited after an act declaring Shabbat over, such as havdalah, Maariv, or answering Borchu.
A practical halachic question: the final ruling is for your rabbi.
The source brings differing opinions.
Quote from the source«In his opinion, one who finished seudah shelishis after nightfall does not recite Retzei.»
- Author
- Rabbi Yirmiyohu Kaganoff
- Source
- Parsha.net — Toldos78, p. 4
- Parsha
- Toldot