Шулхан арух
See further: Mishneh Torah "Shabbat" 8:2, 21:5; Shulchan Aruch Orach Chayim 336; Chayei Adam "Shabbos" 11