Mishneh Torah
See further: Mishneh Torah "Shabbat" 10:10; Shulkhan Arukh Orach Chayim 340; Chayei Adam "Shabbos" 29, Shabbos 7