(4) باب كَرَاهَةِ تَمَنِّي الْمَوْتِ لِضُرٍّ نَزَلَ بِهِ
Abu Hazim reported:
I visited Khabbab who had seven cauteries on his stomach and he said: Had Allah's Messenger (ﷺ) not forbidden us to call for death, I would have done so.
Reference: Sahih Muslim 2681 a
In-book reference: Book 48, Hadith 13
USC-MSA web (English) reference(deprecated numbering scheme): Book 35, Hadith 6483