«لا يتمنين أحدكم الموت لضر نزل به فإن كان لا بد متمنيا فليقل: اللهم أحيني ما كانت الحياة خيرا لي وتوفني إذا كانت الوفاة خيرا لي»
The Prophet (peace and blessings be upon him) said:
"None of you should wish for death because of some hardship that has befallen him. If he must wish, then let him say: 'Allahumma ahyini ma kanat al-hayatu khayran li, wa tawaffani idha kanat al-wafatu khayran li' (O Allah, keep me alive as long as life is better for me, and cause me to die when death is better for me)."