Several things stand out in Numbers 15.
1) The chapter begins with the phrase “Now the LORD spoke to Moses.” That phrase is repeated throughout Numbers, indicating that Moses had an intimate relationship with the LORD.
2) The same laws, statutes, commandments,and ordinances apply to the native (Hebrew) as well as the alien (Gentile) who dwell among the sons of Israel.
3) The LORD distinguishes between an intentional sin (defiance equivalent to blasphemy) and an unintentional sin (an error).
“You shall have one law for him who does anything unintentionally, for him who is native among the sons of Israel and for the alien who sojourns among them. But the person who does anything defiantly, whether he is native or an alien, that one is blaspheming the LORD; and that person shall be cut off from among his people. Because he has despised the word of the LORD and has broken His commandments, that person shall be completely cut off; his guilt will be on him” (Numbers 15: 29-31 NASB).