Malaysia has a legal system based on recieved English common law, but it also retains some customary law, and sharia law which can be applied in certain types of case involving muslims