Ata bin Abi Rabah (may Allah have mercy on him) narrates: I asked al-Walid bin Ubadah bin al-Samit (may Allah have mercy on him): "What was your father's final counsel like?" He said: "When his death drew near, he called me and said: My son! Keep fearing Allah, and know that you will never be able to fear Allah, nor reach the reality of knowledge, until you believe in Allah alone and believe in predestination, both its good and its bad. I said: Father! How do I believe in the good and the bad of predestination? He said: Know that whatever reached you was never going to miss you, and whatever missed you was never going to reach you; this is predestination. If you die upon any belief other than this, you will go to Hell. I heard the Messenger of Allah (peace and blessings be upon him) say: 'The first thing Allah Almighty created was the Pen. Then He said to it: "Write!" It said: "O my Lord! What shall I write?" He said: "Write predestination." So in that very hour the Pen wrote everything that had happened and everything that is to happen until eternity.'"