Exodus 17:6

6 aBehold, I will stand before you there on the rock at Horeb, and you shall strike the rock, and water shall come out of it, and the people will drink.” And Moses did so, in the sight of the elders of Israel.

Numbers 20:8-11

8 bTake the staff, and assemble the congregation, you and Aaron your brother, and tell the rock before their eyes to yield its water. So cyou shall bring water out of the rock for them and give drink to the congregation and their cattle.” 9And Moses took the staff dfrom before the Lord, as he commanded him.

Moses Strikes the Rock

10Then Moses and Aaron gathered the assembly together before the rock, and he said to them, eHear now, you rebels: shall we bring water for you out of this rock?” 11And Moses lifted up his hand and struck the rock with his staff twice, fand water came out abundantly, and the congregation drank, and their livestock.
Copyright information for ESV