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.
tabarani:12500[Chain 1] ʿAbdullāh b. Aḥmad b. Ḥanbal > Aḥmad b. Jamīl al-Marwazī [Chain 2] Muḥammad b. Ḥātim al-Marwazī > Ḥibbān b. Mūsá And Sūwayd b. Naṣr > Ibn al-Mubārak > Rabāḥ b. Zayd > ʿUmar b. Ḥabīb > al-Qāsim b. Abū Bazzah > Saʿīd b. Jubayr > Ibn ʿAbbās

[Machine] The Prophet ﷺ said, "When Allah created the pen, He said to it, 'Write.' So it continuously wrote down everything that will happen until the Day of Resurrection."  

الطبراني:١٢٥٠٠حَدَّثَنَا عَبْدُ اللهِ بْنُ أَحْمَدَ بْنِ حَنْبَلٍ ثنا أَحْمَدُ بْنُ جَمِيلٍ الْمَرْوَزِيُّ ح وَحَدَّثَنَا مُحَمَّدُ بْنُ حَاتِمٍ الْمَرْوَزِيُّ ثنا حِبَّانُ بْنُ مُوسَى وَسُوَيْدُ بْنُ نَصْرٍ قَالُوا ثنا ابْنُ الْمُبَارَكِ عَنْ رَبَاحِ بْنِ زَيْدٍ عَنْ عُمَرَ بْنِ حَبِيبٍ عَنِ الْقَاسِمِ بْنِ أَبِي بَزَّةَ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ

عَنِ النَّبِيِّ ﷺ قَالَ لَمَّا خَلَقَ اللهُ الْقَلَمَ قَالَ لَهُ اكْتُبْ فَجَرَى بِمَا هُوَ كَائِنٌ إِلَى قِيَامِ السَّاعَةِ  


See similar narrations below:

Collected by Suyūṭī