And just as one may pray while it is still day, so too one may perform kiddush while it is still day, as the Rambam wrote in chapter 29, law 11, and this is his wording: A person may perform kiddush over a cup on Friday afternoon while it is still day, even though the Shabbat has not yet entered. Thus far his words. And the Maggid Mishneh wrote: That even though he performed kiddush while it is still day—he is permitted to eat in the evening based on this kiddush..., thus far his words. And one must be uncertain regarding his intention: whether his intention is that to eat one must specifically do so at night, and therefore he says that the kiddush counts for him, and if it is because kiddush must be in the place of a meal—he may eat a kezayit of mezonot after the kiddush. Or whether his intention is that if he eats at night—he has fulfilled his obligation with this kiddush, but in truth he may eat while it is still day, and he fulfills the requirement of the Shabbat meal with this. And so it is explained from the words of our teacher, the Beit Yosef, who wrote: And at plag hamincha one may light, and accept Shabbat with the Arvit prayer, and eat immediately, thus far his words. And so wrote the author of the book Terumat HaDeshen (siman 1) that they would finish the Shabbat meal while it is still day. And also in the days of the Gemara it appears that it was so, for at the beginning of Berakhot we say: "From the time that people enter to eat their bread on Friday evenings," and the Tosafot wrote there at the beginning of Berakhot that it was while it is still day, see there. And therefore this is the primary ruling. And there are those who wrote in the name of Sefer Chasidim that one must eat a kezayit at night (see Magen Avraham there), and it is merely a stringency of pious conduct (and so it is proven in the Magen Avraham). And the reason: for anytime after plag hamincha, when he has accepted the tosefet Shabbat—it is like complete night (ibid.). And not only according to most poskim who hold that tosefet Shabbat is from the Torah, but even according to the Rambam who does not hold of tosefet as we wrote in siman 261, nevertheless since he accepts the tosefet upon himself—it is like actual night, regarding the fact that he fulfills his obligation with the kiddush he performed while it is still day for his obligation at night, since he will immediately come to the obligation. Therefore he can extend it even from beforehand with an addition of holiness, for the Torah gave him permission for this. (And this is the intention of the Mordechai in the second chapter of Megillah, which the Magen Avraham cited. And as for the difficulty he raised from siman 186 that a minor cannot fulfill the obligation for an adult, even though he will come to the obligation when he grows up, see there—according to what we explained it is not a comparison at all. Examine it and you will find it easy.)
וכמו שיכול להתפלל מבעוד יום, כן יכול לעשות קידוש מבעוד יום, כמו שכתב הרמב"ם בפרק כט דין יא, וזה לשונו: יש לו לאדם לקדש על הכוס ערב שבת מבעוד יום, אף על פי שלא נכנסה השבת. עד כאן לשונו. וכתב המגיד משנה: שאף על פי שמבעוד יום קידש – מותר לו לערב לאכול בקידוש זה…, עד כאן לשונו. ויש להסתפק בכוונתו: אם כוונתו דלאכול צריך דווקא בלילה, ולכן אומר דהקידוש עולה לו, ואי משום שצריך קידוש במקום סעודה – יכול לאכול כזית מזונות אחר הקידוש. או שכוונתו דאם אוכל בלילה – יצא בקידוש זה, אבל לעולם יכול לאכול מבעוד יום, ויצא בזה ידי סעודת שבת. וכן מבואר מדברי רבינו הבית יוסף שכתב: ובפלג המנחה יכול להדליק, ולקבל שבת בתפילת ערבית, ולאכול מיד, עד כאן לשונו. וכן כתב בספר תרומת הדשן (סימן א) שהיו גומרים סעודת שבת מבעוד יום. וגם בימי הגמרא נראה שהיה כן, דבריש ברכות אמרינן: "משעה שבני אדם נכנסין לאכול פיתן בערבי שבתות", וכתבו התוספות שם בריש ברכות שהיתה מבעוד יום, עיין שם. ולכן כן עיקר לדינא. ויש שכתבו בשם ספר חסידים דצריך לאכול כזית בלילה (עיין מגן אברהם שם), וחומרא בעלמא הוא ממידת חסידות (וכן מוכח במגן אברהם). וטעמא: דכל אחר פלג המנחה, כשקיבל תוספת שבת – הוי כלילה גמור (שם). ולא מיבעיא לרוב הפוסקים דתוספת שבת דאורייתא, אלא אפילו להרמב"ם דלא סבירא ליה תוספת כמו שכתבנו בסימן רסא, מכל מקום כיוון דמקבל עליו התוספת – הוי כלילה ממש, לעניין שיוצא בקידוש שעשה מבעוד יום על חיובו בלילה, כיוון שמיד יבוא לידי חיוב. לכן יכול להמשיכו גם מקודם בתוספת קדושה, שהרי התורה נתנה לו רשות על זה. (וזהו כוונת המרדכי פרק שני דמגילה, שהביא המגן אברהם. ומה שהקשה מסימן קפ"ו דקטן אינו מוציא הגדול, אף על גב שיבוא לידי חיוב כשיגדל, עיין שם – כפי מה שבארנו אינו דמיון כלל. ודייק ותמצא קל.)