Hasan Basri reported,

A man from among those who came before you had a sore break out on him. When it caused him pain, he pulled an arrow from his quiver and pierced the sore with it. The bleeding would not stop until he died. Your Lord said, "I have forbidden Paradise to him."Then he stretched out his hand toward the mosque and said, "Yes, by Allah, Jundab narrated this hadith to me from the Messenger of Allah ﷺ in this very mosque."

Muslim 307

Sahih

حدثني محمد بن رافع حدثنا الزبيري وهو محمد بن عبد الله بن الزبير حدثنا شيبان قال سمعت

الحسن يقول

ا إن رجلا ممن كان قبلكم خرجت به قرحة فلما آذته انتزع سهما من كنانته فنكأها فلم يرقأ الدم حتى مات قال ربكم قد حرمت عليه الجنة ثم مد يده إلى المسجد فقال إي والله لقد حدثني بهذا الحديث جندب عن رسول الله ﷺ في هذا المسجد

مسلم 307صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Severity of the prohibition of a person killing himself, that whoever kills himself with something will be punished with it in the Fire, and that none will enter Paradise except a Muslim soul
Numbering
Darussalam 307
Muslim 307