The Messenger of Allah ﷺ used to supplicate: "O Allah, I seek refuge in Thee from my house falling on me, I seek refuge in Thee from falling into an abyss, I seek refuge in Thee from drowning burning and decrepitude. I seek refuge in Thee from the devil harming me at the time of my death, I seek refuge in Thee from dying in Thy path while retreating, and I seek refuge in Thee from dying of the sting of a poisonous creature." (Using translation from Abū Dāʾūd 1552)
أَنَّ النَّبِيَّ ﷺ كَانَ يَدْعُو فَيَقُولُ «اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَدْمِ وَالتَّرَدِّي وَالْهَرَمِ وَالْغَمِّ وَالْغَرَقِ وَالْحَرَقِ وَأَعُوذُ بِكَ أَنْ يَتَخَبَّطَنِي الشَّيْطَانُ عِنْدَ الْمَوْتِ وَأَعُوذُ بِكَ أَنْ أَمُوتَ فِي سَبِيلِكَ مُدْبِرًا وَأَعُوذُ بِكَ أَنْ أَمُوتَ فِي سَبِيلِكَ لَدِيغًا»