Sunan At-Tirmidhi

Hadith #3319

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.’”