Mishneh Torah
See further: Mishneh Torah "Shabbat" 10:9, 11; Shulkhan Arukh Orach Chayim 340; Chayei Adam "Shabbos" 28