Saad bin Abu Waqqas reported,

He used to teach his sons these words just as a teacher instructs young boys in writing, saying that the Messenger of Allah ﷺ used to seek refuge with them after the prayer, "Allah, I seek refuge in You from cowardice, I seek refuge in You from being returned to the most decrepit stage of life, I seek refuge in You from the trials of this world, and I seek refuge in You from the punishment of the grave."

Azami 2216

Sahih

عن سعد بن أبي وقاص

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

الأعظمي 2216صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Tashahhud and salam
Section
Adhkar after the obligatory prayers
Numbering
Jami al-Kamil 2216 (2nd edition)
Azami 2216