The Family Code is the body of legal rules governing family relations, from the

formation of the   marital bond (engagement and marriage) through its effects (spousal rights and duties, filiation, maintenance, child custody), to its dissolution (divorce, khul', death), together with related matters such as guardianship, tutelage, kafala, inheritance, wills, and gifts.