Sunan Ibn Majah 4265
سنن ابن ماجه#4265SahihIt was narrated from Anas that the Messenger of Allah (ﷺ) said:“None of you should wish for death because of some harm that befalls him. If he must wish for death, let him say: ‘O Allah, keep me alive so long as living is good for me and cause me to die when death is good for me.’”
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Al-AlbaniSahih
Muhammad Fouad Abd al-BaqiSahih
Shuaib Al ArnautSahih
Zubair Ali ZaiIsnaad Sahih
In-book reference: 37:166