Hadith 339
Sayyiduna Anas (may Allah be pleased with him) reports: The Noble Prophet (peace and blessings be upon him) said: "None of you should wish for death, and if he must do so, then let him say: ﴿اللهم أحيني ما كانت الحياة خيرًا لي، وتوفني إذا كانت الوفاة خيرًا لي﴾ 'O Allah! Keep me alive as long as life is better for me, and cause me to die when death is better for me.'"