1. We have in many Hadeeths that Allah has created the Qalam (The Pen), and the Qalam has been ordered by Allah to write what will be happening till the Day of Judgement.
2. Imam Jafar As-Sadiq (A.S.) has been asked about this verse: ن والقلم (Noon Wal Qalam). He said Noon was a river in the Paradise,White more than the ice and sweet more sweet than the Honey. Allah ordered the river to be ink, then Allah put a tree and told that tree to become Qalam (A Pen) then Allah ordered the pen (Qalam) to write. The Qalam asked: What shall I write? Allah replied: Write whatever will be happening till the day of Judgement. The Qalam wrote according to the order of Allah then it was silent. Allah ordered: Do not talk till the designated time means the day of Judgement. (Elal Al-Shara’e’, علل الشرائع Page 402.
3. Another Hadeeth from Imam Jafar As-Sadiq (A.S.) when he was been asked about Noon Wal Qalam. He says: Noor was a river in the Paradise. Allah ordered the river to be frozen. It became frozen then it became ink. Allah told the Qalam (the Pen): Write. The pen wrote in the preserved board –Lawh Al-Mahfoudh اللوح المحفوظ . The Pen wrote whatever was happening and whatever will happen till the day of Judgement. The ink was ink from Noor (Light) and the Qalam (the Pen) was a Pen from Noor (Light) & Lawh (the Board) was Board from Light. معاني الأخبار Ma’aani Al-Akhbar Page 23.
4. In Tafseer Ali-Ibn Ibrahim Volume 2 Page 379, there is a narration from Abdul Rahim Al Qaseer who said: I asked Imam Jafar As-Sadiq (A.S.) about Noon Wal Qalam. Imam said: Allah has created the Qalam (the Pen) from a tree in the Paradise called “Al Khuld”. then Allah told a river in the Paradise to be ink. The river became frozen, and it was more white than the ice and more sweet than the Honey. Then Allah ordered the Qalam (the Pen) to write. The Qalam said “O my Lord What shall I write”. Allah Ordered the Qalam to write whatever existing and whatever will happen till the day of judgement.
5. In Tafseer Ali Ibn Ibrahim Volume 2 Page 198 , there is a narration from Hisham narrating from Imam Jafar As-Sadiq (A.S.) saying the first which Allah created is Al-Qalam. Then Allah ordered the Qalam : أُكتُب Write. The Qalam (the Pen) wrote what was going on and what will happen till the day of Judgement.
6. We also have narrations about the meaning of Noon and the meaning of Qalam. A narration from Imam Moosa Al-Kadhim (a.s.) which was narrated by Muhammed Ibn Al-Fadheel . He said I asked Imam Moosa Al-Kazim (a.s.) about Noon Wal Qalam Verse he said: Noon is a name of the Messenger of Allah, and Al-Qalam is name for Ameerul Momeneen Ali (a.s.).
Wassalam.