"Six days work shall be done" (Exodus 31:15). Rabbi Ishmael says: one verse says "Six days work shall be done," and another verse says, "Six days you shall labor and do all your work" (Exodus 20:9). How can both verses stand? When Israel does the will of the Omnipresent, their work is done by others, as it says, "Strangers shall stand and feed your flocks" (Isaiah 61:5); and when Israel does not do the will of the Omnipresent, their work is done by themselves, and not only that, but even the work of others is done by them, as it says, "You shall serve your enemies whom the LORD will send against you, in hunger and in thirst" (Deuteronomy 28:48). "And on the seventh day is a sabbath of complete rest, holy to the LORD" (Exodus 31:15). Why is this said? Because it says, "These are the appointed times of the LORD, holy convocations" (Leviticus 23:4), one might think that just as the festivals are handed over to the court [to fix by the calendar], so too the Sabbath would be handed over to the court; Scripture teaches, "And on the seventh day is a sabbath of complete rest, holy to the LORD," the Sabbath is handed over to the Name and the Sabbath is not handed over to the court. So it says, "It is a sabbath to the LORD in all your dwellings" (Leviticus 23:3). "Whoever does work on the sabbath day" (Exodus 31:15): even the work of the Tabernacle. "Shall surely be put to death": I might understand by any form of death; Scripture teaches, "And the LORD said to Moses, the man shall surely be put to death; the whole congregation shall pelt him with stones" (Numbers 15:35), that is to say, by stoning.
Six Days of Labor and Why the Sabbath Belongs to God Alone
Mekhilta DeRabbi Shimon Ben Yochai 31:4
ששת ימים תעשה מלאכה ר' ישמעאל אומר כתוב אחד אומר ששת ימים (יעשה) [תעשה] מלאכה וכתוב אחר (כ' ט') אומר ששת ימים תעבד ועשית כאיזה צד נתקיימו שני כתובים כשישראל עושין רצון המקום מלאכתן נעשית על ידי אחרים כן הוא אומר (ישעיה ס״א ה') ועמדו זרים ורעו צאנכם וכשאין ישראל עושין רצון מקום מלאכתן נעשית על ידי עצמן ולא עוד אלא שאף מלאכת אחרים נעשית על ידם כן הוא אומר (דברים כ"ח מ"ח) ועבדת את איביו אשר ישלחנו ה' אל' בו ברעב ובצמא וגו': וביום השביעי שבת שבתון קדש לה'. למה נאמר לפי שהוא אומר (ויקרא כ"ג ד') אלה מועדי ה' מקראי קדש [יכול] כשם שמועדות מסורין לבית דין כך תהא שבת מסורה לבית דין ת"ל וביום השביעי שבת שבתון קדש לה' לשם שבת מסורה ואין שבת מסורה לבית דין כן הוא אומר (ויק' כ"ג ג') שבת היא לה' בכל מושבותיכם: כל העושה מלאכה ביום השבת. אפילו מלאכת משכן: מות יומת. שומע אני בכל מיתה ת"ל (במדבר ט"ו ל"ה) ויאמר ה' אל משה מות יומת האיש רגום אותו בא' הוי אומר בסקילה: