"None of you should wish for death. Either he is a doer of good, so perhaps he may do more good, or he is an evildoer but perhaps he will give up his evil ways." (Using translation from Nasāʾī 1818)
قَالَ رَسُولُ اللهِ ﷺ لَا يَتَمَنَّيَنَّ أَحَدُكُمُ الْمَوْتَ إِمَّا مُحْسِنٌ فَلَعَلَّهُ يَزْدَادُ خَيْرًا وَإِمَّا مُسِيءٌ لَعَلَّهُ يَسْتَعْتِبُ