Quran 7:144 — The Purgatory (Al-A'araf)
He said, "O Moses, I have chosen you, out of all the people, with My messages and by speaking to you. Therefore, take what I have given you and be appreciative."
[7:143] When Moses came at our appointed time, and his Lord spoke with him, he said, "My Lord, let me look and see You." He said, "You cannot see Me. Look at that mountain; if it stays in its place, then you can see Me." Then, his Lord manifested Himself to the mountain, and this caused it to crumble. Moses fell unconscious. When he came to, he said, "Be You glorified. I repent to You, and I am the most convinced believer."
[7:145] We wrote for him on the tablets all kinds of enlightenments and details of everything: "You shall uphold these teachings strongly, and exhort your people to uphold them—these are the best teachings. I will point out for you the fate of the wicked."