Qays reported,

We came to visit Khabab bin Arat as he was ill, and he had been cauterized seven times. He said, "Were it not that the Messenger of Allah ﷺ forbade us from praying for death, I would have prayed for it."

Bukhari 7234

Sahih

حدثنا محمد حدثنا عبدة عن ابن أبي خالد

عن قيس قال

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

البخاري 7234صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Wishing
Chapter
What is disliked of wishing
Numbering
Darussalam 7234
Bukhari 7234