The general principle which includes the ordinance of this and the three verses following is laid down in Exodus 22:29; Exodus 23:19.
Related Commentaries of Numbers 15:18
Numbers 15:18
18 Speak unto the children of Israel, and say unto them, When ye come into the land whither I bring you,