Hilchot Shabbat 29:12-13 (When Shabbat begins or ends, and you’re in the middle of a meal)
6:15 pm
If you’re eating a meal and Shabbat enters, what should you do? What about if you’re eating and Shabbat finishes? Is there a halachic difference between the two cases?