Shulchan Arukh, Orach Chayim Siman 679
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
בערב שבת מדליקין נר חנוכה תחלה ואח"כ נר שבת: הגה ומברך עליהם כמו בחול אע"פ שמדליקין בעוד היום גדול [ת"ה סי' ק"ב] :
Mishna Berura Yomi
Before Shabbat begins one should first light for Chanukah and then for Shabbat.