Abu Hurairah reported,

The Messenger of Allah ﷺ said, "None of you should wish for death or call upon it before it comes. When one of you dies, his deeds come to an end, and the believer's life only increases him in good."

Azami 10956

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: لا يتمنى أحدكم الموت ولا يدع به من قبل أن يأتيه، إنه إذا مات أحدكم انقطع عمله وإنه لا يزيد المؤمن عمره إلا خيرا.

الأعظمي 10956صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Rulings on supplication
Section
Prohibition of supplicating for death
Numbering
Jami al-Kamil 10956 (2nd edition)
Azami 10956