Mishneh Torah
See further: Mishneh Torah "Shabbat" 8:5, 21:11; Chayei Adam "Shabbos" 13