Sahih al-Bukhari 6350
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا يَحْيَى، عَنْ إِسْمَاعِيلَ، قَالَ حَدَّثَنِي قَيْسٌ، قَالَ أَتَيْتُ خَبَّابًا وَقَدِ اكْتَوَى سَبْعًا فِي بَطْنِهِ فَسَمِعْتُهُ يَقُولُ لَوْلاَ أَنَّ النَّبِيَّ صلى الله عليه وسلم نَهَانَا أَنْ نَدْعُوَ بِالْمَوْتِ لَدَعَوْتُ بِهِ.
Narrated Qais:
I came to Khabbab who had been branded with seven brands over his `Abdomen, and I heard him saying, "If the Prophet: had not forbidden us to invoke (Allah) for death, I would have invoked Allah for it."
Full reference and source
Sahih al-Bukhari 6350 In-book : Book 80, Hadith 47 USC-MSA web (English) : Vol. 8, Book 75, Hadith 361 (deprecated)
View source on Sunnah.com (opens in a new tab)