Mishneh Torah
See further: Mishneh Torah "Shabbat" 10:15; Shulkhan Arukh Orach Chayim 317; Chayei Adam "Shabbos" 30