(4) باب كَرَاهَةِ تَمَنِّي الْمَوْتِ لِضُرٍّ نَزَلَ بِهِ
Anas (b. Malik) reported Allah's Messenger (ﷺ) as saying. None of you should make a request for death because of the trouble in which he is involved, but if there is no other help to it, then say:
O Allah, keep me alive as long as there is goodness in life for me and bring death to me when there is goodness in death for me. (DE)
Reference (DE): Sahih Muslim 2680 a (DE)
In-book reference (DE): Book 48, Hadith 10 (DE)
USC-MSA web (English) reference(deprecated numbering scheme): Book 35, Hadith 6480 (DE)