The people of Israel are told the following in the Parsha of vayakhel:
Six days work shall be done, but on the seventh day you shall have sanctity, a day of complete rest to the Lord; whoever performs work thereon [on this day] shall be put to death. You shall not kindle fire in any of your dwelling places on the Sabbath day.”(Exodus 35:2-3)