Where did you get that info?
Which countries are you referring to? I ask because there are so many ‘flavours’ of Islam and each sect follows a different interpretation of the Koran.
Also - I’ve found this (sorry - it’s a bit long-winded):
Most scholars agreed abortions were allowed if pregnancies ended before ensoulment of the fetus, described as occurring between 40, 90 or 120 days after conception, depending on the school of thought.
Usually, a justifiable reason is needed for terminating a pregnancy, e.g. to protect a breastfeeding child, socio-economic concerns or health reasons.
Four main positions on abortion prior to ensoulment currently exist across these schools of thought: i) abortion is allowed, ii) abortion is allowed under certain circumstances, iii) abortion is disapproved of and iv) abortion is forbidden.
Support for abortion and the belief that life begins at ensoulment is based primarily on the following Qur’anic verse, which discusses the different stages (semen, blood clot, bones and flesh) of fetal development
That’s from a paper ‘Abortion and Islam: Policies and Practice in the Middle East and North Africa’:
https://www.tandfonline.com/doi/pdf/10.1016/S0968-8080%2806%2929279-6