Narrated Anas
If I had not heard the Prophet (ﷺ) saying, "You should not long for death," I would have longed (for it).
Narrated Qais
We went to pay a visit to Khabbab bin Al-Art and he had got himself branded at seven spots over his body. He said, "If Allah's Messenger (ﷺ) had not forbidden us to invoke Allah for death, I would have invoked for it."
Narrated Sa`d bin Ubaid
(the Maula of `Abdur-Rahman bin Azhar) Allah's Messenger (ﷺ) 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."