إِنَّمَا حَرَّمَ عَلَيْكُمُ ٱلْمَيْتَةَ وَٱلدَّمَ وَلَحْمَ ٱلْخِنزِيرِ وَمَآ أُهِلَّ بِهِ لِغَيْرِ ٱللَّهِ فَمَنِ ٱضْطُرَّ غَيْرَ بَاغٍ وَلاَ عَادٍ فَلاۤ إِثْمَ عَلَيْهِ إِنَّ ٱللَّهَ غَفُورٌ رَّحِيمٌ

He has forbidden you to eat dead meat, blood, the flesh of swine, and that on which any name other than Allah has been invoked; but if someone is compelled by absolute necessity, intending neither to sin nor to transgress, they shall incur no sin. Surely Allah is Forgiving, Merciful. [2:173]