Allah's Messenger (ﷺ) said," None of you should long for death because of a calamity that…

Sahih al-Bukhari Book 80 Hadith 48

Sahih al-Bukhari #6351

Invocations 80:48

Narrated Anas:

Allah's Messenger (ﷺ) said," None of you should long for death because of a calamity that had befallen him, and if he cannot, but long for death, then he should say, 'O Allah! Let me live as long as life is better for me, and take my life if death is better for me.' "

Chapter: The invocation for death or life

Grade: Sahih