Amr bin Maymun reported,

Saad used to teach his sons these words the way a teacher instructs boys in writing. He would say that the Messenger of Allah ﷺ used to seek refuge with these words after each prayer, "O Allah, I seek refuge in You from cowardice, I seek refuge in You from being returned to the most feeble stage of old age, I seek refuge in You from the trials of this world, and I seek refuge in You from the punishment of the grave."I related this to Musab, and he confirmed it.

Bukhari 2822

Sahih

حدثنا موسى بن إسماعيل حدثنا أبو عوانة حدثنا عبد الملك بن عمير سمعت

عمرو بن ميمون الأودي قال

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

البخاري 2822صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
What is sought refuge from regarding cowardice
Numbering
Darussalam 2822
Bukhari 2822