It is narrated from Sayyiduna Jundub bin Abdullah al-Bajali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Among those who came before you, a man was wounded and became distressed by it. He took a knife and cut his hand with it, and the blood did not stop until he died. Then Allah, the Mighty and Majestic, said: 'My servant hastened to Me with regard to his own life; I have made Paradise forbidden to him.'"
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 1651