Mishneh Torah
See further: Mishneh Torah "Shabbat" 7:3, 8:1, 21:2–4; Chayei Adam "Shabbos" 10