Exodus 19:12-13
19:12 You must set boundaries for the people all around, saying, ‘Take heed to yourselves not to go up on the mountain nor touch its edge. Whoever touches the mountain will surely be put to death!
19:13 No hand will touch him – but he will surely be stoned or shot through, whether a beast or a human being; he must not live.’ When the ram’s horn sounds a long blast they may go up on the mountain.”
Exodus 19:21
19:21 The Lord said to Moses, “Go down and solemnly warn the people, lest they force their way through to the Lord to look, and many of them perish.