The Tur wrote in the name of the Tosafot that for us, one does not need to be precise regarding the time that our sages, of blessed memory, gave, for that was only for them who would kindle outside, and after the foot ceases there are no passersby. However, for us who kindle inside the house, and the recognition is only for the members of the household—one should not be particular about the time, but only to kindle while the members of the household are awake and not sleeping, for if so, even for them there is no recognition. And the Tur wrote, this is his wording: And it appears that even for us one must be precise regarding the measure. For even though we kindle inside, since we kindle at the entrance of the house and it is open—there is recognition for passersby. Thus far his words. And this was in the time of the Tur, but now that we kindle entirely in the inner rooms—one does not need to be precise regarding the time, but rather he should kindle while the members of the household are awake (Bach). And this is what our teacher, the Rema, wrote: Some say that in this time, when we kindle inside—one does not need to be careful to kindle before the foot ceases from the marketplace. Nevertheless, it is good to be careful even in this time. Thus far his words, in order to act according to the enactment of the sages. And most of Israel are careful even now to kindle at the time established by the sages. And there is one who says that even to study—it is forbidden when the time arrives. And if he has not yet prayed Maariv—he should kindle first, and afterward pray Maariv (Magen Avraham, subsection 5). And this is for those who always kindle after Maariv. But there are those who ab initio kindle before Maariv, after the beginning of sunset, according to the words of the Rambam that we brought.
כתב הטור בשם התוספות דלדידן אינו צריך לדקדק בהזמן שנתנו חכמינו ז"ל, שזהו רק להם שהיו מדליקין בחוץ, ולאחר שתכלה רגל אין עוברין ושבין. אבל לדידן שמדליקין בבית, וההיכר הוא רק לבני הבית – אין להקפיד על הזמן, ורק להדליק בעוד שבני הבית יהיו נעורים ולא ישנים, דאם כן גם להם אין היכר. והטור כתב, וזה לשונו: ונראה שאף לדידן צריך לדקדק בשיעור. שאף על פי שמדליקין בפנים, כיון שמדליקין בפתח הבית, והוא פתוח – יש הכירא לעוברים ושבים. עד כאן לשונו. וזהו בזמן הטור, אבל עכשיו שמדליקין לגמרי בחדרים הפנימים – אינו צריך לדקדק בהזמן, אלא שידליק בעוד שבני הבית נעורים (ב"ח). וזהו שכתב רבינו הרמ"א: יש אומרים שבזמן הזה, שמדליקין בפנים – אינו צריך ליזהר ולהדליק קודם שתכלה רגל מן השוק. ומכל מקום טוב ליזהר גם בזמן הזה. עד כאן לשונו, כדי לעשות כתקנת חכמים. ורוב ישראל נזהרים גם עתה להדליק בהזמן שקבעו חכמים. ויש מי שאומר דאפילו ללמוד – אסור בהגיע הזמן. ואם לא התפלל מעריב עדיין – ידליק קודם, ואחר כך יתפלל מעריב (מגן אברהם סעיף קטן ה). וזהו להמדליקים תמיד אחר מעריב. אבל יש שלכתחילה מדליקין קודם מעריב, אחר תחילת השקיעה, כדברי הרמב"ם שהבאנו.