the world's law codes are full of stupidities and idiocies. Mostly arising from the religious underpinning of most modern law systems. But thankfully most modern law systems have removed crap like this. But when people say laws are religiously mandated is when all kinds of alarm bells go off.
Women Around the World Are Being Stoned to Death. Do You Know the Facts?
Stoning still happens today. There are 15 countries in which stoning is either practiced or authorized by law, even if it has never been practiced. In Iran, Mauritania, Nigeria (in one-third of the country's states), Pakistan, Qatar, Saudi Arabia, Somalia, Sudan, the United Arab Emirates, and Yemen, stoning is a legal punishment. However, out of these countries, only in Iran, Pakistan and Somalia have stonings actually occurred, and all instances in Pakistan have occurred outside the legal system.
By comparison, three of the remaining five countries (Afghanistan, Iraq, and Mali) do not condone stoning in national legislation, but sentences and executions have been carried out by non-state actors. In the Aceh region of Indonesia and Malaysia, stoning is sanctioned regionally but banned nationally.