What should I buy if I can afford either wine for Kiddush or oil for the Chanukah lights?
You should buy oil for the Chanukah lights. The cited ruling of Rambam gives it priority over wine for Shabbos Kiddush.
A practical halachic question: the final ruling is for your rabbi.
Quote from the source«יקנה שמן לנרות חנוכה (רמב"ם הלכות מגילה וחנוכה פ"ד הי"ג).»
- Author
- רמב"ם
- Source
- יש לתמוה — יש לתמוה, p. 6