Abdullah bin Umar reported,

I heard the Messenger of Allah ﷺ say, "The first thing Allah created was the Pen. He took it in His right hand, and both of His hands are right hands."He continued, "Then He wrote down the world and all that would occur in it of deeds, whether of righteousness or wickedness, moist or dry, and recorded it with Him in the Reminder."Then he said, "Recite if you wish, 'This, Our Record, speaks about you in truth. Indeed, We have had transcribed what you used to do' [Jathiyah 45:29]. Is a transcription ever made except from something already completed?"

Azami 8197

Hasan

عن ابن عمر، قال

سمعت رسول الله ﷺ يقول: أول ما خلق الله تعالى القلم، فأخذه بيمينه- وكلتا يديه يمين- قال: فكتب الدنيا وما يكون فيها من عمل معمول بر أو فجور، رطب أو يابس، فأحصاه عنده في الذكر، فقال: اقرأوا إن شئتم: {هذا كتبنا ينطق عليكم بالحق إنا كنا نستنسخ ما كنتم تعملون} [سورة الجاثية: ٢٩]، فهل تكون النسخة إلا من شيء قد فرغ منه.

الأعظمي 8197حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Beginning of creation
Section
Allah created the pen after the Throne and the water
Numbering
Jami al-Kamil 8197 (2nd edition)
Azami 8197