Abu Hurairah (r.a.) reported: Messenger of Allah (peace be upon him) said
None of you should wish for death. If he is righteous, perhaps he may add to (his) good works, and if he is a sinner, possibly he may repent -in case he is given a longer life
Sahih Al Bukhari Ahadith quoted from Riyad-us-Saliheen
دثنا عبد الله بن محمد حدثنا هشام بن يوسف أخبرنا معمر عن الزهري عن أبي عبيد اسمه سعد بن عبيد مولى عبد الرحمن بن أزهر أن رسول الله صلى الله عليه وسلم قال : (لا يتمنى أحدكم الموت إما محسنا فلعله يزداد وإما مسيئا فلعله يستعتب).