Exodus 24:13 – 18
New International Version (NIV)
13 Then Moses set out with Joshua his aide, and Moses went up on the mountain of God. 14 He said to the elders, “Wait here for us until we come back to you. Aaron and Hur are with you, and anyone involved in a dispute can go to them.”
15 When Moses went up on the mountain, the cloud covered it, 16 and the glory of the Lord settled on Mount Sinai. For six days the cloud covered the mountain, and on the seventh day the Lord called to Moses from within the cloud. 17 To the Israelites the glory of the Lord looked like a consuming fire on top of the mountain. 18 Then Moses entered the cloud as he went on up the mountain. And he stayed on the mountain forty days and forty nights.
From BibleGateway.com: http://www.biblegateway.com/passage/?search=Exodus 24:13-18&version=NIV
NIV®