Volume 9 · Book 90 · Hadith 341
Narrated Sa'd bin Ubaid: (the Maula of 'Abdur-Rahman bin Azhar) Allah's Apostle said, "None of you should long for death, for if he is a good man, he may increase his good deeds, and if he is an evil-doer, he may stop the evil deeds and repent."
— Sahih Bukhari, Volume 9, Book 90: Wishes, Hadith #341