Exodus 24:12-18 ESV
The LORD said to Moses, “Come up to me on the mountain and wait there, that I may give you the tablets of stone, with the law and the commandment, which I have written for their instruction.” So Moses rose with his assistant Joshua, and Moses went up into the mountain of God. And he said to the elders, “Wait here for us until we return to you. And behold, Aaron and Hur are with you. Whoever has a dispute, let him go to them.” Then Moses went up on the mountain, and the cloud covered the mountain. The glory of the LORD dwelt on Mount Sinai, and the cloud covered it six days. And on the seventh day he called to Moses out of the midst of the cloud. Now the appearance of the glory of the LORD was like a devouring fire on the top of the mountain in the sight of the people of Israel. Moses entered the cloud and went up on the mountain. And Moses was on the mountain forty days and forty nights.