Ubada bin Walid reported,

I came in to visit Ubada while he was ill, and I could see death taking shape upon him. I said, "Father, give me your final counsel and do your utmost for me."He said, "Sit me up."Then he said, "My son, you will never taste the flavor of faith, nor reach the true reality of knowledge of Allah تبارك وتعالى, until you believe in divine decree, both its good and its evil."I said, "Father, how can I know what is good in the decree and what is evil?"He replied, "You will know that what missed you was never going to strike you, and what struck you was never going to miss you. My son, I heard the Messenger of Allah ﷺ say, 'The first thing Allah تبارك وتعالى created was the Pen. He said to it, Write. So in that very moment it ran with everything that will be until the Day of Resurrection.' My son, if you die holding anything other than this, you will enter the Fire."

Ahmad 22705

Sahih

حدثنا أبو العلاء الحسن بن سوار حدثنا ليث عن معاوية عن أيوب بن زياد حدثني

عبادة بن الوليد بن عبادة حدثني أبي قال

دخلت على عبادة وهو مريض أتخايل فيه الموت فقلت يا أبتاه أوصني واجتهد لي فقال أجلسوني قال يا بني إنك لن تطعم طعم الإيمان ولن تبلغ حق حقيقة العلم بالله تبارك وتعالى حتى تؤمن بالقدر خيره وشره قال قلت يا أبتاه فكيف لي أن أعلم ما خير القدر وشره قال تعلم أن ما أخطأك لم يكن ليصيبك وما أصابك لم يكن ليخطئك يا بني إني سمعت رسول الله ﷺ يقول إن أول ما خلق الله تبارك وتعالى القلم ثم قال اكتب فجرى في تلك الساعة بما هو كائن إلى يوم القيامة يا بني إن مت ولست على ذلك دخلت النار

أحمد 22705صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ubada bin Samit
Numbering
Darussalam 22705
Ahmad 22705