Islamic dietary laws
However, a person would not be guilty of sin in a situation where the lack of any alternative creates an undesired necessity to consume that which is otherwise unlawful. (Quran 2:173) This is the "law of necessity" in Islamic jurisprudence: "That which is necessary makes the forbidden permissible."
Islamic dietary laws-3