As a new Muslim I am confused about the severity of some Islamic punishments. One question that I could not have an answer for concerns the punishment of an adulteress, where the only proof is her being pregnant. Is the child considered innocent? If so, why should that child suffer the mother’s punishment?
The severe punishments you are uneasy about are known as Hudood, which means that they are mandatory, determined by God, and cannot be reduced by anyone when the offense is proven according to Islamic requirements. These requirements are very strict and hard to obtain, which means that the punishments themselves are very rarely used. Their purpose is deterrence. Moreover, they are very small in number. Scholars differ as to which offences carry such mandatory punishments, with the highest number put at 7 only, while others saying that they are only 4. This last view is perhaps the more accurate number, making the mandatory punishments applicable only in cases of theft, adultery, false accusation of adultery against women without producing four witnesses in support, and making war against the Muslim State. When these punishments are applied in a community, they work wonders in achieving security for people, property, and reputation. To discuss this subject in detail requires much larger space than a newspaper could allocate. What you need is to look at this issue in specialized books, or to discuss them with a scholar.
The case you have cited is a point in favor of Islamic law. Islam does not permit that children should be punished for the sins of their parents. If a woman has been proved to commit adultery through voluntary confession or having four witnesses stating that they have seen the offence being committed, the punishment is applied. If it is suspected that she is pregnant, the punishment is delayed until she has given birth and the child is weaned. This is what the Prophet, peace be upon him, did with a woman who confessed her offence. He first tried to make her withdraw her confession, as required by Islam. When she insisted, he delayed her punishment until the child was weaned and she came to him carrying the child eating normal food and asking for the punishment to be inflicted on her.