Qays bin Abu Hazim reported,

We came in to visit Khabab, who had been cauterized seven times on his stomach. He said, "Were it not that the Messenger of Allah ﷺ forbade us to pray for death, I would have prayed for it."

Azami 10953

Sahih

عن قيس بن أبي حازم قال

دخلنا على خباب وقد اكتوى سبع كيات في بطنه فقال: لو ما أن رسول الله ﷺ نهانا أن ندعو بالموت لدعوت به.

الأعظمي 10953صحيح
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 10953 (2nd edition)
Azami 10953