In siman 263 it was explained that regarding the Shabbat lamp and the kiddush of the day—the Shabbat lamp is preferable if his hand cannot reach both, for peace of the home is preferable to all things. And the Shabbat lamp constitutes peace of the home, so that they do not sit in darkness and stumble in their walking, see there. And all the more so that the Shabbat lamp takes precedence over the Hanukkah lamp, for the kiddush of the day is from the Torah. And even though he could recite kiddush over bread, nevertheless if he also does not have bread—the Shabbat lamp is preferable. And all the more so against the Hanukkah lamp which is rabbinic. And even though many poskim hold that kiddush as well is only rabbinic, and from the Torah one fulfills the obligation through prayer, nevertheless its essence is from the Torah. And even though with the Hanukkah lamp there is the publication of the miracle, nevertheless peace of the home is greater than all of them. However, one lamp suffices for peace of the home, and with the remainder he should buy a Hanukkah lamp (Magen Avraham).
בסימן רסג נתבאר דנר שבת וקידוש היום – נר שבת עדיף אם אין ידו משגת לשניהם, דשלום בית עדיף מכל הדברים. ונר שבת הוי שלום בית, שלא ישבו בחושך ויכשלו בהליכתם, עיין שם. וכל שכן דנר שבת קודם לנר חנוכה, שהרי קידוש היום דאורייתא. ואף שיכול לקדש על הפת, אמנם אם גם פת אין לו – נר שבת עדיף. וכל שכן נגד נר חנוכה דרבנן. והגם דהרבה פוסקים סוברים דגם קידוש אינו אלא מדרבנן, ומן התורה יוצא בתפילה, מכל מקום הא עיקרו מדאורייתא. ואף על גב דבנר חנוכה איכא פרסומי ניסא, מכל מקום שלום בית גדול מכולן. אך בנר אחד סגי לשלום בית, ובהמותר יקנה נר חנוכה (מגן אברהם).