Islamic jurisprudence is the principal source of legislation. Sharia courts and qadis are run and licensed by the Ministry of Justice. The personal status law that regulates matters such as marriage, divorce and child custody is governed by Sharia. In a family court, a woman's testimony is worth half of a man's testimony.