Allah (swt) is the one that gave us life and only He has the right to take it away from us. Suicide is clearly haram in Islam. This is what the Qur’an has to say about suicide:
[4:29] O ye who believe! Eat not up your property among yourselves in vanities: But let there be amongst you Traffic and trade by mutual good-will: Nor kill (or destroy) yourselves: for verily Allah hath been to you Most Merciful!
[4:30] If any do that in rancour and injustice,- soon shall We cast them into the Fire: And easy it is for Allah.
However, now-a-days, we see on the news, the acts of ‘suicide bombing’ during Jihad. The killing of any innocent, elderly, women, children, is haram in Islam. So any form of suicide with the intention of Jihad, should not be carried out on those who are not taking part in a war against you.