Almighty Allah declared: And We appointed for Moses thirty nights and added (to the period) ten (more), and he completed the term, appointed by his Lord, of forty nights. And Moses said to his brother Aaron: "Replace me among my people, act in the Right Way (by ordering the people to obey Allah and to worship Him Alone) and follow not the way of the Mufsideen mischi ef makers)."
And when Moses came at the time and place appointed by Us, and his Lord spoke to him, he said: "0 my Lord! Show me (yourself), that I may look upon You."
Allah said: "You cannot see Me, but look upon the mountain if it stands still in its place then you shall see Me." So when his Lord appeared to the mountain, He made it collapse to dust, and Moses fell down unconscious. Then when he recovered his senses he said: "Glory be to You, I turn to You in repentance and I am the first of the believers."
(Allah) said: "0 Moses, I have chosen you above men by My Messages, and by My speaking (to you). So hold that which I have given you and be of the grateful."
And We wrote for him on the Tablets the lesson to be drawn from all things and the explanation of all things (and said): "Hold unto these with firmness, and enjoin your people to take the better therein, I shall show you the home of AlFasiqeen (the rebellious, disobedient to Allah). I shall turn away from My Ayat (verses of the Qur'an) those who behave arrogantly on the earth, in a wrongful manner, and (even) if they see all the Ayat (proofs, evidences, verses, lessons, signs, revelations, etc.), they will not believe in them. And if they see the way of righteousness (monotheism, piety, and good deeds), they will not adopt it as the Way, but if they see the way of error (polytheism, crimes and evil deeds), they will adopt that way, that is because they have rejected Our Ayat (proofs, evidences, verses, lessons, signs, revelations, etc.) and were heedless (to learn a lesson) from them. Those who deny Our Ayat (proofs, evidences, verses, lessons, signs, revelations, etc.) and the Meeting in the Hereafter (Day of Resurrection), vain are their deeds. Do they expcet to be rewarded with anything except what they used to do?" Surah 7: 142-147