Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
hakim:3693Abū ʿAbdullāh Muḥammad b. Yaʿqūb al-Ḥāfiẓ > Yaḥyá b. Muḥammad b. Yaḥyá > Musaddad > al-Muʿtamir b. Sulaymān > ʿAṭāʾ b. al-Sāʾib > Miqsam > Ibn ʿAbbās

[Machine] The first thing Allah created was the pen, He created it from light before the creation of the thousand and the letter "lam". The pen shaped itself into a form from light and it was said to it, "Write in the Preserved Tablet." The pen asked, "O Lord, what should I write?" He said, "Write everything that will happen until the Day of Judgment." So when Allah created the creation, He entrusted them to the keepers who would safeguard their actions. Then, on the Day of Judgment, their actions will be presented to them and it will be said, "This is our book that speaks about you with truth. Indeed, We used to record what you used to do." (Surah Al-Jathiyah, 45:29) The two books, the Preserved Tablet and the record of actions, will be presented equally. Ibn Abbas said, "Are you not Arabs? Could the copy (nuskha) be other than a book?"  

الحاكم:٣٦٩٣أَخْبَرَنَا أَبُو عَبْدِ اللَّهِ مُحَمَّدُ بْنُ يَعْقُوبَ الْحَافِظُ ثنا يَحْيَى بْنُ مُحَمَّدِ بْنِ يَحْيَى ثنا مُسَدَّدٌ ثنا الْمُعْتَمِرُ بْنُ سُلَيْمَانَ عَنْ عَطَاءِ بْنِ السَّائِبِ عَنْ مِقْسَمٍ عَنِ ابْنِ عَبَّاسٍ قَالَ

أَوَّلُ مَا خَلَقَ اللَّهُ الْقَلَمَ خَلَقَهُ مِنْ هَجَا قَبْلَ الْأَلْفِ وَاللَّامِ فَتَصَوَّرَ قَلَمًا مِنْ نُورٍ فَقِيلَ لَهُ اجْرِ فِي اللَّوْحِ الْمَحْفُوظِ قَالَ يَا رَبِّ بِمَاذَا؟ قَالَ بِمَا يَكُونُ إِلَى يَوْمِ الْقِيَامَةِ فَلَمَّا خَلَقَ اللَّهُ الْخَلْقَ وَكَّلَ بِالْخَلْقِ حَفَظَةً يَحْفَظُونَ عَلَيْهِمْ أَعْمَالَهُمْ فَلَمَّا قَامَتِ الْقِيَامَةُ عُرِضَتْ عَلَيْهِمْ أَعْمَالُهُمْ وَقِيلَ {هَذَا كِتَابُنَا يَنْطِقُ عَلَيْكُمْ بِالْحَقِّ إِنَّا كُنَّا نَسْتَنْسِخُ مَا كُنْتُمْ تَعْمَلُونَ} [الجاثية 29] عَرَضَ بِالْكِتَابَيْنِ فَكَانَا سَوَاءً قَالَ ابْنُ عَبَّاسٍ أَلَسْتُمْ عَرَبًا؟ هَلْ تَكُونُ النُّسْخَةُ إِلَّا مِنْ كِتَابٍ؟  

«هَذَا حَدِيثٌ صَحِيحُ الْإِسْنَادِ وَلَمْ يُخَرِّجَاهُ» صحيح

See similar narrations below:

Collected by Qurʾān, Suyūṭī
quran:45:29

This, Our record, speaks about you in truth. Indeed, We were having transcribed whatever you used to do."  

This is Our book, the register of ˹deeds recorded by˺ the guardian angels, which pronounces against you with truth. Indeed We used to write down, record and preserve, what you used to do’.
القرآن:٤٥:٢٩

هَٰذَا كِتَابُنَا يَنْطِقُ عَلَيْكُمْ بِالْحَقِّ ۚ إِنَّا كُنَّا نَسْتَنْسِخُ مَا كُنْتُمْ تَعْمَلُونَ  

{هذا كتابنا} ديوان الحفظة {ينطق عليكم بالحق إنا كنا نستنسخ} نثبت ونحفظ {ما كنتم تعملون}.
suyuti:422-292bIbn ʿUmar > Rasūl Allāh
Request/Fix translation

  

السيوطي:٤٢٢-٢٩٢b

" عَنِ ابنِ عُمَرَ أَنَّ رَسُولَ الله ﷺ قَالَ: إِنَّ الله - ﷻ - أَوَّلُ شَىْءٍ خَلَقَ الله الْقَلَم فَأَخذَهُ بِيَدِهِ الْيُمْنَى وَكِلْتَا يَدَيْهِ يَمِيِنٌ، فَكَتَبَ مَا يَكُونُ فيهَا مِنْ عَمَلٍ مَعْمُولٍ بَرٍّ أو فَجُورٍ، رَطْبٍ أَوْ يَابِس فَأَحْصَاهُ عِنْدَهُ فِى الذِّكْرِ، ثُمَّ قَالَ: اقْرَأُوا إِنْ شِئْتُم "هَذَا كتَابُنَا يَنْطِقُ عَلَيكْم بِالْحَقِّ إِنَّا كُنَّا نَسْتَنْسِخُ مَا كنتُم تَعْملُونَ " قَبْلَ النَّسخ الأَمْرُ قَدْ فُرغَ مِنْهُ".  

[قط] الدارقطنى في السنن في الصفات