Mishneh Torah
See further: Mishneh Torah "Shabbat" 12:1; Chayei Adam "Shabbos" 46