Well, religion usually calls for peace with self and others - take for example the sermon on the Mount in the New Testament - it calls for loving the enemy. However, there might be some ideologies that call for suicide...
I don't think this is a yes/no kind of question. There is a nice review of the literature on THEOLOGY and suicide in James Hillman's Suicide and the Soul in the chapter on "Suicide Prevention: The Viewpoint of Sociology, Law, Theology, and Medicine." The index includes various references to religion, and the entire argument might be seen as seeing THEOLOGY as one of the enemies of the soul, or spirit. I'm not up on the latest suicide literature, but a good "classic" anthology is Suicidology: Essays in Honor of Edwin Shneidman (1993).
The formation of any religion in the world are creating in path for mankind every where in the world .To live a happy ,calm ,quite , like so that they may complete their own working environment & other social obligation very much comfortably & peacefully .
Every human beings with their arrival to carry out their action of life for their working environment & social obligation for which they have to work with the mind ,brain , & other suitable temperament .
But with the same mind & brain there are person who are more of negative traits in their temperament such as ANGER,PRIDE, EGO, JEALOUSY ,ATTACHMENT ,GREED ,& more often sensitivity of their nature . While carrying out the action of life if they don't find the results as per the requirement either their negative traits or frustration may disturb their factors of mind where they may lose the power of discrimination & not find solution such person are likely to take recourse Suicide.
Besides certain person due to poverty ,family responsibility ,incurable disease where they get frustrate may take recourse to suicide .
Suicide is forbidden by Islamic law: see Sahih Muslim, Iman, 141-144. If I remember well, ther are also limitations to the self-sacrifice in the battlefield: admitted only if it permits to the army a safe retreat. You will surely find these rules in any classical Muslim treaty on holy war.
Suicide is a relatively wide-spread feature of Indian religions. The soldiers of Alexander (the Great) were impressed to see the Indian Kalanos taking his own life in fire. Kalanos was probably a Brahmin, and not the only Brahmin who resorted to this way of ending his life (JB, How the Brahmins Won, Brill 2016, p. 34 ff.; Patrick Olivelle, “Ritual suicide and the rite of renunciation”, https://liberalarts.utexas.edu/files/1243833). Jainism has always known and highly respected the practice of sallekhanā, which is a way of taking one’s own life through fasting (and which Jainas refuse to call ‘suicide’). Buddhism knows the tradition of burning one’s own body as an act of religious fervour (JB, “Buddhism and sacrifice”, http://my.unil.ch/serval/document/BIB_1971EA20C16A.pdf). Hinduism has known instruments allowing devotees to decapitate themselves without the help of outsiders (Sudyka, Lidia (2014): “The Chejarla temple myth revisited: self-decapitation in medieval Andhra.” Indologica Taurinensia 40, 318-340). So plenty of relationships between religion and suicide, at least in South Asia.
Religious belief s a protective factor against suicide according to UK data (see, for example, http://www.gov.scot/resource/doc/251539/0073687.pdf and http://bjp.rcpsych.org/content/204/4/254.full-text.pdf+html for example ). This could be because of the social benefits associate with regular activity with peers, it could be a deterrence effect because of the forbidden nature of suicide in many faiths (see above). and there may be under reporting of suicide in faith groups because of the taboo attached to it.
I know little about it, but an additional angle you might wish to explore is the purported connections between suicidality and near death experiences (a quick Google shows a range of sites discussing the subject). As a general impression, it appears (1) that folks who have a spiritual-like experience in connection with an attempted suicide are much less inclined to contemplate suicide again, and, on the other hand, (2) folks who have near death experiences report being less worried about and more "accepting" of death and dying in general.
Studies have shown that there is relationship between religion and suicide. I came across a paper that may highlight some relationship ; see comments from Epiphenom at ;