For God and Humanity sake stop justifying in the name of religion. If there is some problem with doctrine or teachings with your holy text then question it and change it. But please don't commit cruelty blindly in the name of religion. How could you feel if you were in the place of that lady. How could you feel if you get beatings on your back or your loved ones. Can you still justify and give the same explanation. Shame on such people for committing such grave crime.
Let me explain he doctrine of our holy text.
The penalty for adultery for unmarried people is lashes
the penalty of adultery for married is Stone to death
The penalty of theft is cut the hands of
All these have to be carried out in public, and there are very strict procedures which must be followed in order to accuse any one of these crime and then to punish.
HOWEVER
Islamic doctrine also says that these punishments have to be given once the crime becomes public or is reported,
Till that happens it is a matter between God and his creation.
But if a crime is made public and there is ample evidence to prove it THEN it is a MUST to give a strict punishment so as to deter any future violators.
History:
A woman came to the prophet pbuh, and said she has committed adultery and was now pregnant.
the prophet turned away his face and ignored her
she repeated this thrice, before the prophet paid attention to her,
She was told to repent and come back after the baby was born,
she came back after the baby was born, thus the prophet asked how will the baby be fed, so come back after 2 years of nursing the baby,
she came back after 2 years and asked for the punishment
The prophet then asked for some one to come forward and take guardianship of the baby, a man came forward and took the responsibility,
After so long, finally when the woman did not move from her stand and demanded she be stoned, she was given the punishment,
During the stoning some blood from her spilled on Syedna Umar's dress and he got Angry at this; which the prophet heard,
He called Umar and told him not to be angry at all,
the prophet said
" How that woman asked for forgiveness, her repent was enough to wash away all the sins of people of Mecca and Madina"
Such is our religion of Islam, and such are the principles behind it.