Sahih Muslim 6814
صحيح مسلم#6814SahihAnas (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
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih Muslim is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 48:10