Lashing is a common penalty under Wahabi interpretations of sharia law, the Islamic religious laws that underpin the legal systems in Saudi Arabia and Sudan.
For some crimes, the Koran specifies the number of lashes required. But for most crimes, the sentence is at the discretion of the judge hearing the case.
Not everyone agrees that the Koran condones the flogging of women, however.
"There is nothing in the Koran -- that is there is no Koranic justification -- for sentencing the Qatif woman to flogging," said Yvonne Haddad, an Islamic history professor at Georgetown University.
"Flogging has not been used in all places at all times throughout the Islamic world. In the places where it continues to exist it is steeped more in local tradition than Islam. The practice varies from place to place. Pakistan has a flogging law, as does Iran. Most of the Gulf countries, especially those influenced by Wahabiism have flogging," she said.
Human rights advocates question the arbitrary nature of the sentences and the administration of the punishments in public.
On Nov. 5 Saudi Arabia amputated the hand of a convicted thief, Amr Nasr, the first such punishment reported in the kingdom in years.
"Judges have a lot of discretion. One judge may give five lashings, another might give 500," said Curt Goering, the senior deputy director of Amnesty International. "The public nature of the flogging adds to the humiliation and torture," Goering said. "When the woman is accused, the sentence is still often carried out by men. Women sometimes are forced to publicly bear their skin in these very conservative societies."
Polls, however, find that strict interpretations of sharia law and corporal punishment are popular in the Muslim world.
"Sharia law is generally viewed positively by people living in Muslim countries," said Dalia Mogahed of the Gallup Center for Muslim Studies. "In forming legislation in predominantly Muslim countries, the majority of people want to see sharia as a source of law, and in some countries they want it as the only source."
In Egypt, which is secular, 96 percent of men and women associate justice for women with sharia compliance, Mogahed said.
"The reaction to corporal punishment is mixed," she said, "but when international pressure takes the form of an attack on sacred law rather than specific interpretations, people tend to dig their heels in and take the pressure as an attack on the faith itself. … International pressure is not necessarily bad but has to take on the right tone so it doesn't ignite defenses."
Official reaction from the governments of both countries has been mixed. Tuesday, while visiting the United States for the Annapolis Conference, Saudi Foreign Minister Prince Saud al-Faisal said his country's government would review the sentence, but an official statement from the Justice Ministry earlier in the week supported the court's decision.
"The Saudi justice minister expressed his regret about the media reports over the role of the women in this case, which put out false information and wrongly defended her," the ministry said on Saturday.
By Wednesday, the government had officially decided to review the case.
Also Wednesday, one day after the Sudanese government said it would drop the charges against British teacher Gibbons, Khartoum reversed its decision and decided to charge her.
Sudan's top clerics, known as the Assembly of the Ulemas, said in a statement that parents at the school had handed them a book that the teacher was assembling about the bear.
"She, in a very abusive manner, used the name of Prophet Muhammad, may Allah shame her," according to the statement.