Islam and abortion
Muslim views on abortion are shaped by the Hadith as well as by the opinions of legal and religious scholars and commentators. The Quran does not directly address intentional abortion, leaving greater discretion to the laws of individual countries. In Islam, the foetus is believed to become a living soul after four months of gestation, and abortion after that point is generally viewed as impermissible. Many Islamic thinkers recognize exceptions to this rule for certain circumstances. American academic, Azizah Y. al-Hibri, notes that "the majority of Muslim scholars permit abortion, although they differ on the stage of fetal development beyond which it becomes prohibited." According to Sherman Jackson, "while abortion, even during the first trimester, is forbidden according to a minority of jurists, it is not held to be an offense for which there are criminal or even civil sanctions."There are four different Sunni school of thoughts – Hanafites, Shafites, Hanbalites, and Malikites – and they have their own reservations on when abortions can happen in Islam.
In practice, access to abortion varies greatly between different Muslim-majority countries. In countries like Turkey and Tunisia, abortions are unconditionally legal on request. On the other hand, in 18 out of 47 Muslim-majority countries, including Iraq, Egypt, and Indonesia, abortion is only legally permitted if the life of the mother is threatened by the pregnancy. No Muslim-majority country bans abortion in the case of the mother's life being at risk.  Other reasons that are permitted by certain Muslim-majority countries include preserving a woman's physical or mental health, foetal impairment, cases of incest or rape, and social or economic reasons. There is great variation within Muslim-majority countries as to which are legally accepted reasons for abortion.
Relevant excerpts from the HadithEdit
This section needs additional citations for verification. (April 2011) (Learn how and when to remove this template message)
Allah's Apostle gave the judgment that a male or female slave should be given in Qisas for an abortion case of a woman from the tribe of Bani Lihyan (as blood money for the fetus) but the lady on whom the penalty had been imposed died, so the Prophets ordered that her property be inherited by her offspring and her husband and that the penalty be paid by her Asaba.
Umar bin Al-Khattab asked (the people) about the Imlas of a woman, i.e., a woman who has an abortion because of having been beaten on her abdomen, saying, "Who among you has heard anything about it from the Prophet?" I said, "I did." He said, "What is that?" I said, "I heard the Prophet saying, 'Its Diya (blood money) is either a male or a female slave.'" Umar said, "Do not leave till you present witness in support of your statement." So I went out, and found Muhammad bin Maslama. I brought him, and he bore witness with me that he had heard the Prophet saying, "Its Diya (blood money) is either a male slave or a female slave."
- Hadith—Sahih Bukhari 9.420, Narrated Mughira ibn Shu'ba
Ibn Abbas said: "Umar asked about the decision of the Prophet (peace be upon him) about that (i.e. abortion) Haml ibn Malik ibn an-Nabighah got up and said: I was between two women. One of them struck another with a tent-pole killing both her and what was in her womb. So the Apostle of Allah (peace be upon him) gave judgment that the blood-wit for the unborn child should be a male or a female slave of the best quality and that she should be killed."
- Hadith—Abu Dawood 4555, Narrated Umar ibn al-Khattab
When abortion is permissibleEdit
Among Muslims, the permissibility of abortion depends on factors such as time and extenuating circumstances. The four Sunni school of thoughts have differing perspectives in which parts of gestation where abortion is permissible. It is important to note that Malikites do not permit abortion in any of the stages of gestation.
Before four months of gestationEdit
Seyed al-Sabiq, author of Fiqh al-Sunnah, has summarized the views of the classical jurists in this regard in the following words:
Abortion is not allowed after four months have passed since conception because at that time it is akin to taking a life, an act that entails penalty in this world and in the Hereafter. As regards the matter of abortion before this period elapses, it is considered allowed if necessary. However, in the absence of a reasonable excuse it is detestable. The author of ‘Subul-ul-Maram’ writes: "A woman’s treatment for aborting a pregnancy before the spirit has been blown into it is a matter upon which scholars differed on account of difference of opinion on the matter of ‘Azal (i.e. measures to hinder conception). Those who allow ‘Azal consider abortion as allowable and vice versa." The same ruling should be applicable for women deciding on sterilization. Imam Ghazzali opines: "Induced abortion is a sin after conception". He further says: "The sin incurred thus can be of degrees. When the sperm enters the ovaries, mixes with the ovum and acquires potential of life, its removal would be a sin. Aborting it after it grows into a germ or a leech would be a graver sin and the graveness of the sin increases very much if one does so after the stage when the spirit is blown into the fetus and it acquires human form and faculties."
Stage 1 Nutfa (Sperm)
This is the stage from conception to 40 days since the semen has fertilized the ovum. In this stage, Hanafites permit abortions, the majority of Shafites permit abortions, some Hanbalites permit it, but Malikites do not.
Stage 2 Alaqa (Blood Clot)
This is the stage 40-80 days after conception when the fertilized egg has become blod clot like. In this stage, Hanafites permit abortions, while only some Shafites and Hanbalites permit it.
Stage 3 Mudgha (Embryo)
This is the stage 80-120 days after conception where the blood clot has now formed into flesh. In this stage, Hanafites permit abortions, only some Shafites and Hanbalites permit it.
Stage 4 Khalqan Akhar (Spirit)
This is the stage 120 days after conception when based on Islam a soul/ spirit has entered the body. In the stage all 4 school of thoughts do not permit abortions.
Threat to the woman's lifeEdit
On the issue of the life of the woman, Muslims universally agree that her life takes precedence over the life of the fetus. This is because the woman is considered the "original source of life", while the fetus is only "potential" life. Muslim jurists agree that abortion is allowed based on the principle that "the greater evil [the woman's death] should be warded off by the lesser evil [abortion]." In these cases the physician is considered a better judge than the scholar.
Muslim scholars have held that the child of rape is a legitimate child and thus it would be sinful to kill this child. Scholars permit its abortion only if the fetus is less than four months old, or if it endangers the life of its mother.
When the pregnancy is unplanned and therefore unwanted, as in the case of rape, the parents, [have to/should, as adoption is unlawful] abort the fetus and thus prevent the disgrace that awaits both mother and child [..] the child born of rape, like one born of adultery (walad zina) is a more lowly member of society with regard of the rights he or she is guaranteed and the social status he or she can attain.— 
Muslim scholars were urged to make exceptions in the 1990s following rapes of Kuwaiti women by Iraqi soldiers (in 1991) and the rape of Bosnian and Albanian women by Serb soldiers. In 1991, the Grand Mufti of Palestine, Ekrima Sa'id Sabri took a different position than mainstream Muslim scholars. He ruled that Muslim women raped by their enemies during the Kosovo War could take abortifacient medicine, because otherwise the children born to those women might one day fight against Muslims.
Some Muslim scholars argue that abortion is permitted if the newborn might be sick in some way that would make its care exceptionally difficult for the parents (e.g. deformities, mental handicaps). For example, Islamic scholar Mekkah Al Mukaramah stated that abortion was permissible of fetuses that had "grossly malformed with untreatable severe condition proved by medical investigations and decided upon by a committee formed by competent trustworthy physicians." Supreme Leader Khamenei of Iran has similarly issued a fatwa permitting abortion for fetuses shown to have the genetic blood disorder thalassemia.
- "(The matter of the Creation of) a human being is put together in the womb of the mother in forty days, and then he becomes a clot of thick blood for a similar period, and then a piece of flesh for a similar period. Then Allah sends an angel who is ordered to write four things...then the soul is breathed into him"
Sahih al-Bukhari, 4:54:430
- Ehrich, Tom (August 13, 2006). "Where does God stand on abortion?". USA Today.
- Jackson, Sherman A. (2005). "Blackamerica, Immigrant Islam, and the Dominant Culture". Islam and the Blackamerican: Looking Toward the Third Resurrection. Oxford, UK: Oxford University Press. p. 151.
- Gilla K Shapiro; Abortion law in Muslim-majority countries: an overview of the Islamic discourse with policy implications, Health Policy and Planning, Volume 29, Issue 4, 1 July 2014, Pages 483–494, https://doi.org/10.1093/heapol/czt040
- Hashmi, Tariq Mahmood (13 October 2009). "Abortion". Al-Mawrid. Archived from the original on 27 February 2012. Retrieved 11 July 2012.
- Shapiro, G. K (2013). "Abortion law in Muslim-majority countries: An overview of the Islamic discourse with policy implications". Health Policy and Planning. 29 (4): 483–94. doi:10.1093/heapol/czt040. PMID 23749735.
- Bowen, Donna Lee (2003). "Chapter 3: Contemporary Muslim Ethics of Abortion". In Brockopp, Jonathan E. Islamic Ethics of Life: Abortion, War, and Euthanasia. Columbia, SC: University of South Carolina Press. p. 64.
- "Abortion". BBC Religions. 7 September 2009. Retrieved 11 July 2012.
- Rispler-Chaim, Vardit (2003). "Chapter 4: The Right Not to Be Born: Abortion of the Disadvantaged Fetus in Contemporary Fatwas". In Brockopp, Jonathan E. Islamic Ethics of Life: Abortion, War, and Euthanasia. Columbia, SC: University of South Carolina Press. pp. 87–88.
- "Sanctity of life". BBC News. 7 September 2009. Retrieved 29 March 2017.