Hadith Qudsi Number 28 : The Authority Of Jundub ibn Abdullah
The Messenger of Allah (peace be upon him) said : “There was amongst those before you a man who had a wound. He was in [such] anguish that he took a knife and made with it a cut in his hand, and the blood did not cease to flow till he died. Allah the Almighty said: My servant has himself forestalled Me; I have forbidden him Paradise.”
It was related by al-Bukhari.