ذِكْرُ مَا يَدْعُو الْمَرْءُ عِنْدَ الشَّدَائِدِ وَالضُّرِّ إِذَا نَزَلَ بِهِ
The Messenger of Allah ﷺ as saying: No one of you should wish for death for any calamity that befalls him, but he should say: O Allah! cause me to live so long as my life is better for me ; and cause me to die where death is better for me. (Using translation from Abū Dāʾūd 3108)
عَنْ رَسُولِ اللَّهِ ﷺ أَنَّهُ قَالَ «لَا يَتَمَنَّيَنَّ أَحَدُكُمُ الْمَوْتَ لِضُرٍّ نَزَلَ بِهِ فَإِنْ كَانَ لَا بُدَّ فَاعِلًا فَلْيَقُلْ أَحْيِنِي مَا كَانَتِ الْحَيَاةُ خَيْرًا لِي وَتَوَفَّنِي إِذَا كَانَتِ الْوَفَاةُ خَيْرًا لِي»