Exodus 31:14-15

14You shall keep the Sabbath, because it is holy for you. Everyone who profanes it shall be put to death. aWhoever does any work on it, that soul shall be cut off from among his people. 15 bSix days shall work be done, but cthe seventh day is a Sabbath of solemn rest, holy to the Lord. dWhoever does any work on the Sabbath day shall be put to death.

Exodus 35:2

2 eSix days work shall be done, but on the seventh day you shall have a Sabbath of solemn rest, holy to the Lord. Whoever does any work on it shall be put to death.
Copyright information for ESV