suicide is forbidden in Islam
Among those who were before you, there was a man who was injured. He was impatient so he took a knife and made a cut in his hand and bled to death. Allah, the Exalted, said: ’My servant hastened to bring about his demise; I have forbidden Paradise to him. " [Bukhari and Muslim].