Kitzur Shulchan Aruch · 139:17
מקור
בְּעֶרֶב שַׁבָּת, מַדְלִיקִין תְּחִלָּה נֵר חֲנֻכָּה, וְאַחַר כָּךְ נֵר שַׁבָּת, וּבִלְבַד שֶׁיְהֵא לְאַחַר פְּלַג הַמִּנְחָה. וּמִתְפַּלְּלִין תְּחִלָּה מִנְחָה. וְצָרִיךְ שֶׁיִתֵּן שֶׁמֶן כְּדֵי שֶיִדְלְקוּ עַד חֲצִי שָׁעָה לְאַחַר צֵאת הַכּוֹכָבִים. דְּאִם לֹא כֵן, הֲוֵּי לֵהּ בְּרָכָה לְבַטָּלָה. וְאִם מַדְלִיק אֵצֶל הַפֶּתַח, צָרִיךְ לִזָּהֵר לְהַפְסִיק בְּאֵיזֶה דָבָר בֵּינָם לְבֵין הַדֶּלֶת, שֶלֹּא יְכַבֵּם הָרוּחַ בִּפְתִיחַת וּנְעִילַת הַדֶּלֶת.
Translation
On Friday, one lights the Chanukah lights first and then the Shabbos light, provided that it is after plag haminchah. Minchah is prayed first. One must put in enough oil for the Chanukah lights to burn until half an hour after nightfall; otherwise, the blessing is in vain. If one lights beside the entrance, care must be taken to place some barrier between the lights and the door, so that the wind does not extinguish them when the door is opened or closed.
Translated by AI-Assisted Translation