Abdullah bin Abbas reported,

The Quran was sent down all at once on Laylat al-Qadr to the lowest heaven, where it was placed at the positions of the stars. Then Allah revealed it to His Messenger piece by piece.

Azami 665

Sahih

في قوله تعالى: {إنا أنزلنه في ليلة القدر}

عن ابن عباس قال

أنزل القرآن جملة واحدة في ليلة القدر إلى السماء الدنيا، فكان بموقع النجوم، فكان الله ينزل على رسوله بعضه إثر بعض.

الأعظمي 665صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Belief in the scriptures sent down from Allah عز وجل
Section
Revelation of the Quran all at once on Laylat al-Qadr to the lowest heaven
Numbering
Jami al-Kamil 665 (2nd edition)
Azami 665