Abu Yusr reported,

The Messenger of Allah ﷺ used to supplicate, "O Allah, I seek refuge in You from being crushed by a falling structure, I seek refuge in You from falling from a height, I seek refuge in You from drowning, from burning, and from decrepit old age, I seek refuge in You from being confounded by Satan at the time of death, I seek refuge in You from dying while fleeing in Your path, and I seek refuge in You from dying of a venomous bite."Wazad added in another narration, "and from grief."

Azami 11339

Sahih

عن أبي اليسر

أن رسول ﷺ كان يدعو: اللهم إني أعوذ بك من الهدم، وأعوذ بك من التردي، وأعوذ بك من الغرق، والحرق، والهرم، وأعوذ بك أن يتخبطني الشيطان عند الموت، وأعوذ بك أن أموت في سبيلك مدبرا، وأعوذ بك أن أموت لديغا وزاد في رواية: والغم.

الأعظمي 11339صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Comprehensive and general supplications
Section
What one seeks refuge from
Numbering
Jami al-Kamil 11339 (2nd edition)
Azami 11339