The punishment barren women receive in some less civilized countries is mostly social stigma and overall humiliation. This being said, I am going to agree with number 2 in that the Islamic faith has as a common practice the pre-matching of couples during courtship for the purposes of marriage. However, how could you proceed to convince someone to marry your daughter when she cannot produce an heir to carry the family to another generation? In the Spanish culture we can trace the pains of being barren even to the English Tudor monarchy. King Henry VIII married a Spanish heiress, (then) Princess Catalina (Catherine of Aragon) was obviously having a lot of trouble bearing children after the birth of her first daughter. Not only was there anger in not being able to have a male heir, but also in not being able to maintain a pregnancy. It is also known that the frustration hurt Catherine both as a woman, but mostly as a Spanish woman. This is because in some cultures motherhood is more than just a simple stage of life, but a privilege, somewhat a rank to be used with pride.
You said not in the bible, but said nothing of the Islamic agenda.
In these countries, Iran, Pakistan, Afghanistan, Sudan, and certain parts of Malaysia and Nigeria women aren't necessarily punished, but may suffer loss from ever being married to a man. This is because in countries where the religion is Islam, part of the expectation of followers is that they overpopulate. Thus, a woman who cannot produce is essentially defective.
Read the link below for more information... you'll need to scroll about 1/2 way down the page. This piece is done by former Muslims and is a first hand account that accesses primary documents, it is not of my own faith or something enotes stands behind or promotes.
There is no provision for punishment of barren women in India or any of the indian religions. However, in the past barren women did face considerable blame for not giving an offspring to the family. When it was legally allowed for mento have multiple wives. many men remarried if their first wife did not bear any children.
The criticizm faced by women for being barrren has considerably reduced now, but still there are some men and women who may look down upon barren women.