Malay customary law or adat law is a combination of Malay customs and Islamic law that governs behavior and social etiquette in Malay society. There are two main categories of Malay customary law: Adat Perpatih which follows a matrilineal system where ancestral land is inherited by daughters, and Adat Temenggung which follows a patrilineal system where sons inherit twice as much as daughters according to Islamic law. The application of adat law can be seen in matters of inheritance as well as distribution of matrimonial property during and after divorce. Courts have recognized customary law for Malays and applied it in cases regarding ancestral land rights and division of jointly acquired property.