There is one law for you, (Israel) and one law for the sojourner among you.
Yes the gentiles who are among Israel were commended to keep the Sabbath.
Two we are also told to keep the Sabbath day in the renewed covenant writings as well...
(Hebrews 4:9-11)
9 There remains, then, a Sabbath-rest...