Sharia is the main source of Qatari legislation according to Qatar's Constitution.[178][179] Sharia is applied to laws pertaining to family law, inheritance, and several criminal acts (including adultery, robbery and murder). In some cases in Sharia-based family courts, a female's testimony is worth half a man's and in some cases a female witness is not accepted at all.[180]