“I arrived in Makkah and met Ata bin Abi Rabah. I said: ‘O Abu Muhammad! Some people with us speak about Al-Qadar.’ Ata said: ‘I met Al-Walid bin Ubadah bin As-Samit and he said: “My father narrated to me, he said: ‘I heard the Messenger of Allah saying: “Verily the first of what Allah created was the Pen. He said to it: “Write.” So it wrote what will be forever.’”
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ إِنَّ أَوَّلَ مَا خَلَقَ اللَّهُ الْقَلَمَ فَقَالَ لَهُ اكْتُبْ فَجَرَى بِمَا هُوَ كَائِنٌ إِلَى الأَبَدِ وَفِي الْحَدِيثِ قِصَّةٌ قَالَ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ وَفِيهِ عَنِ ابْنِ عَبَّاسٍ