Exodus 19:12

And you are to set up a boundary for the people around the mountain and tell them, ‘Be careful not to go up on the mountain or touch its base. Whoever touches the mountain shall surely be put to death.
BSB · Berean Standard Bible
And thou shalt set bounds unto the people round about, saying, Take heed to yourselves, that ye go not up into the mount, or touch the border of it: whosoever toucheth the mount shall be surely put to death:
KJV · King James Version
You shall set bounds to the people all around, saying, ‘Be careful that you don’t go up onto the mountain, or touch its border. Whoever touches the mountain shall be surely put to death.
WEB · World English Bible
And thou shalt set bounds unto the people round about, saying, Take heed to yourselves, that ye go not up into the mount, or touch the border of it: whosoever toucheth the mount shall be surely put to death:
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

set bounds
Exodus 19:21, 23; Joshua 3:4
Take
Exodus 10:28; Exodus 34:12; Deuteronomy 2:4; Deuteronomy 4:9
or touch
Hebrews 12:20, 21