Hadith 72

- (إنَّ أول شيءٍ خَلَقَهَ الله عزَّ وجلَّ: القلمُ، فأخذَهُ بيمينه- وكلتا يديهِ يمين- قال: فكتبَ الدنيا وما يكونُ فيها من عملٍ معمولٍ: بِرَّ أو فجورٍ، رطب أو يابس، فأحصاهُ عندَه في الذِّكر، ثم قال: اقرَأُوا إن شئتم: (هذا كتابُنا يَنْطِقُ عليكم بالحق إنا كنا نَسْتَنْسِخُ ما كنتم تعملون) ؛ فهل تكون النسخةُ إلا مِنْ أمرٍ قد فُرغَ منه) .
It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings of Allah be upon him) said: "Allah Almighty created the Pen first, and He held it in His right hand. And both of Allah's hands are right. And He wrote the world, and every good and evil deed done in the world, and every moist and dry thing, and counted all things with Him in the Preserved Tablet (al-Lawh al-Mahfuz). Then He said: If you wish, (regarding this, recite this verse): «هذا كتابُنا يَنْطِقُ عليكم بالحق إنا كنا نَسْتَنْسِخُ ما كنتم تعملون» 'This is Our Book that speaks about you in truth; indeed, We were recording what you used to do.' (Surah al-Jathiyah: 29). Writing and copying happens only in that matter which has already been completed."
Hadith Reference سلسله احاديث صحيحه / الايمان والتوحيد والدين والقدر / 72