Numbers 20:8-9

20:8 “Take the staff and assemble the community, you and Aaron your brother, and then speak to the rock before their eyes. It will pour forth its water, and you will bring water out of the rock for them, and so you will give the community and their beasts water to drink.”

20:9 So Moses took the staff from before the Lord, just as he commanded him.