Mishneh Torah
See further: Mishneh Torah "Shabbat" 9; Chayei Adam "Shabbos" 25