عن أَنَسِ بن مَالِكٍ رضي الله عنه قال النبي  صلى الله عليه وسلم لَا يَتَمَنَّيَنَّ أحدكم الْمَوْتَ من ضُرٍّ أَصَابَهُ فَإِنْ كان لَا بُدَّ فَاعِلًا فَلْيَقُلْ اللهم أَحْيِنِي ما كانت الْحَيَاةُ خَيْرًا لي وَتَوَفَّنِي إذا كانت الْوَفَاةُ خَيْرًا لي

Anas ibn Malik (rta) reported that the Prophet (sws) said: “No one among you should desire death if some suffering afflicts him. And if he cannot but help do something, he should say: ‘God! Grant me life as long as life is better for me and give me death when death is better for me.”[1]



[1]. Ibid., vol. 5, 2146, (no. 5347).