Le Deutéronome 5:15 Midrash : Mekhilta DeRabbi Yishmael & Mekhilta DeRabbi Shimon Ben Yochai

וְזָכַרְתָּ֞֗ כִּ֣י־עֶ֤֥בֶד הָיִ֣֙יתָ֙ ׀ בְּאֶ֣רֶץ מִצְרַ֔֗יִם וַיֹּצִ֨אֲךָ֜֩ יְהוָ֤֨ה אֱלֹהֶ֤֙יךָ֙ מִשָּׁ֔ם֙ בְּיָ֤֥ד חֲזָקָ֖ה֙ וּבִזְרֹ֣עַ נְטוּיָ֑֔ה עַל־כֵּ֗ן צִוְּךָ֙ יְהוָ֣ה אֱלֹהֶ֔יךָ לַעֲשׂ֖וֹת אֶת־י֥וֹם הַשַׁבָּֽת׃ (ס)

Et tu te souviendras que tu fus esclave au pays d’Égypte, et que l’Éternel, ton Dieu, t’en a fait sortir d’une main puissante et d’un bras étendu; c’est pourquoi l’Éternel, ton Dieu, t’a prescrit d’observer te jour du Sabbat.

Mekhilta DeRabbi Yishmael

Come and see their reward. It is written "Honor the L–rd from your wealth" and, correspondingly, (Ibid. 10) "And your bread will be filled with grain"; Honor your father and your mother" and correspondingly, (Ibid.) "so that your days be prolonged." The L–rd your G–d shall you fear" — (Malachi 3:20) "And there shall shine for you, who fear My name, a sun of bounty."

Mekhilta DeRabbi Shimon Ben Yochai

For in six days the Lord made the heaven and the earth (Exodus 20:11): And were they created in six days? And has it not already been stated (Psalms 33:6), "By the word of the Lord, the heavens were made." If so why does it state, "For in six days, the Lord made the heaven?" Rather it is to punish the wicked who destroy the world that was created in six days and to give a goodly reward to the righteous who preserve the world that was created in six days. Another explanation: "For in six days, the Lord made, etc. - based on three things was the Shabbat given to Israel. Based on the exodus from Egypt, as it is written (Deuteronomy 5:15), "Remember that you were a slave in the land of Egypt." And based on, "For in six days, the Lord made, etc." And based on, "and He rested on the seventh day" (Exodus 20:11). "And the sea and everything that is in them" (Exodus 20:11): The sea was included in the act of creation [of the earth]. Rather [it was specified] to say that there is praise about the sea corresponding to all of the acts of creation. Similar to this, you say, "and Leviathan that You formed to sport with" (Psalms 104:26). And was the Leviathan not included in the creations of the sea. Rather [it was specified] to say that there is praise about the Leviathan corresponding to all of the creation of the sea. "And He rested on the seventh day" - to teach that rest was not commanded until the seventh day. Another explanation: "And He rested on the seventh day" - and is there toil and exhaustion before Him? And is it not already stated (Isaiah 40:28), "He does not get tired and He does not get exhausted?" If so, why is it stated, "and He rested?" Rather it is to punish the wicked who destroy the world that was created with toil and exhaustion. Another explanation: "And He rested" - and are the things not an a fortiori argument (kal vechomer): And if the One who spoke and the world came into being, blessed be He - who does not have toil and exhaustion before him - wrote about Himself, "and He rested"; is it not all the more so that man about whom it is written (Job 5:7), "For man is born to toil," should be obligated to rest on the seventh day? "Therefore the Lord blessed the Shabbat and made it holy": With what did He bless it and with what did He make it holy? He blessed it and made it holy with manna. He blessed it with manna: About every day it says (Exodus 16:16), "an omer per person"; but about Shabbat it says (Exodus 16:22), "two omer." About every day it says (Exodus 16:20), "It became wormy and putrid"; but about Shabbat it says (Exodus 16:24), "It did not turn putrid and there were no worms in it." Rabbi Shimon ben Yehudah of Kefar Ikos says, "He blessed it with lights, and made it holy with lights. He blessed it with the light of man's face and He made it holy with the light of man's face. And even thought the lights became corrupted on the eve of Shabbat, they were not darkened until the conclusion of Shabbat. So does it say - 'And the light of the moon shall become like the light of the sun, and the light of the sun shall become sevenfold, like the light of the seven days" (Isaiah 30:26).'" Rabbi Yose said to him, "What do I need [this for]? Has it not already been stated (Psalms 49:13), 'But man does not rest in his glory' - his glory did not rest (sleep overnight) with him, but rather his glory was negated [beforehand], and 'he is silenced like the beasts?'" He said to him, "Yes, the decree was on the eve of Shabbat, and he did not rest before the decree was decreed; but it was not darkened until the conclusion of Shabbat."