Mishneh Torah
See further: Mishneh Torah "Shabbat" 9:179, 22:13–14; Chayei Adam "Shabbos" 21