Short answer

The Qur'an came to the Prophet Muhammad (ﷺ) through the angel Gabriel, part by part, over twenty-three years. It began when he was forty, in the cave of Hira near Makkah, with the command to read. He could not read. Revelation came on him like the ringing of a bell, or the angel came as a man. It was heavy: he sweated on a very cold day. He could not summon it, and once waited a month for an answer. Each passage was recited to the people, learned by heart and written down. It came in stages so that hearts could take it in: faith first, laws later. Gabriel went over it with him every year, and twice in his last year. Revelation stopped when he died. So the Qur'an was not composed at a desk: it came over many years, among companions who saw it happen. Islam's answer is that every word is from God (﷾), not from him.

Read the full explanation

See your saved pages