The Messenger of Allah ﷺ, speaking about the period when revelation had paused, said in his account, "As I was walking, I heard a voice from the sky. I raised my head, and there was the angel who had come to me at Hira, seated on a throne between the sky and the earth."The Messenger of Allah ﷺ said, "I was seized with terror at the sight of him, so I returned home and said, 'Wrap me up, wrap me up,' and they covered me with a cloak. Then Allah revealed, 'You who are wrapped in a cloak, arise and warn. Magnify your Lord. Purify your garments. And shun the idols' [Muddaththir 74:1–5]," the idols being the false gods.He said, "After that, revelation came steadily."
قال رسول الله ﷺ:-وهو يحدث عن فترة الوحي- قال في حديثه-: فبينا أنا أمشي سمعت صوتا من السماء فرفعت رأسي فإذا الملك الذي جاءني بحراء جالسا على كرسي بين السماء والأرض، قال رسول الله ﷺ: فجئثت منه فرقا، فرجعت، فقلت: زملوني زملوني فدثروني فأنزل الله تبارك وتعالى: {يأيها المدثر قم فأنذر وربك فكبر وثيابك فطهر والرجز فاهجر} [سورة المدثر: ١-٥] وهي الأوثان قال: ثم تتابع الوحي.
Bukhari related it in the Book of Revelation (4), and Muslim in the Book of Faith (161:255), both through Ibn Shihab, who said, Abu Salama bin Abdul-Rahman informed me that Jabir bin Abdullah said, then he narrated it. The wording given is Muslim's.I say, so the Quran began to be revealed to the Prophet ﷺ in stages.