For interest, I have been reading:
Islamic perspective on child custody after divorce:
http://www.islamic-sharia.org/children/islamic-perspective-on-child-custody-after-divorce.html
It says here that if a woman does not remarry she may have custody until they reach a certain age, when they 'may' simply be taken away from her and given to the father. (there is an illustrative table on this page).
++
And a book which I have read and always refer back to, 'The Hidden Face of Eve' by Nawal El Saadawi (Egyptian):
'The girl over the age of nine is obliged to live with her father whether she likes it ot not. The boy at age seven can choose.'
++
Another article (this one about Saudi), this one is a personal opinion blog:
http://americanbedu.com/2008/05/15/divorce-in-ksa-who-gets-custody/
Divorce in Saudi Arabia: Who Gets Custody?
Posted on May 15, 2008 by American Bedu
In spite of all efforts to preserve the sanctity of marriage, divorce continues to rise in the Kingdom whether with a Saudi or non-Saudi spouse. In the Kingdom, divorce and custody of children is based on the Islamic or Shariah law. Any child born with a Saudi father is viewed as a Saudi citizen and naturally a muslim. When an American woman marries a Saudi man and lives in the Kingdom, Islamic/Shariah law prevails. The US embassy does not intervene in child custody disputes between Americans and Saudis.
In the case of a divorce, if an American woman is married to a Saudi, she likely loses her sponsor (her husband) and therefore required to leave the Kingdom. Because under Islamic law the (Saudi) children are awarded to the father so in many cases the American woman must leave the Kingdom without her children.
Typically under Shariah law, a mother (muslim or non-muslim) in the Kingdom can maintain custody of her male children until the age of nine and maintain custody of female children until the age of seven after which custody is reverted to the father. If a divorced mother continues to have custody beyond those ages may depend on the father and the relationship between the divorced couple. And naturally the Saudi courts wish to have any child of divorced parents in the Kingdom continue to be raised in an Islamic environment.
+++