The sabbath principle is established in Genesis 2:1–3, immediately upon the completion of God's work of creation. This Sabbath rest principle is a function neither of redemption nor theocracy. It is part of God's creation order. We trace this theme through Scripture with particular attention to worship.
This is Christ the Center episode 589 (https://www.reformedforum.org/ctc589)