Sahih Bukhari Volume 004, Book 056, Hadith Number 669.
Hadith Section/Book: Sahih Bukhari Sahih Bukhari Book 56. Virtues and Merits of the Prophets (PBUH) and his Companions
Narated By Jundub : Allah's Apostle said, "Amongst the nations before you there was a man who got a wound, and growing impatient (with its pain), he took a knife and cut his hand with it and the blood did not stop till he died. Allah said, 'My Slave hurried to bring death upon himself so I have forbidden him (to enter) Paradise.'"