# Are there any laws in Islam which it is better to die rather than violate the law?

Are there any laws in Islam which it is better to die rather than violate the law?

Does it matter whether violating the law would cause the person to die naturally (for example, eating pork while stranded with no other food) or whether the person is being forced to violate the law (for example, someone threatens someone with a gun and promises to kill him if he doesn't eat pork).

Eating pork is just the example I have used here. Are there any laws which should be broken in either of the two scenarios mentioned above?

Preservation of life is perhaps the most crucial objective of the Shariah. If one were to organize the aims of Islam and shariah into a pyramid, this would be sitting at the top.