Sahih al-Bukhari, Book 94, Hadith 9 (Bukhari 6960)
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."