in addition to laws pertaining to the five pillars , islamic law also covers such areas as diet , purity , marriage and inheritance , commercial transaction , relationships with non-muslims , as well as criminal law .