Abdul-Wahid bin Sulaim said:
"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.'" (ES)
English reference (ES): Vol. 5, Book 44, Hadith 3319 (ES)
Arabic reference (ES): Book 47, Hadith 3637 (ES)