Surah Al-Baqarah, ayah 173

2:173

إِنَّمَا حَرَّمَ عَلَيۡكُمُ ٱلۡمَيۡتَةَ وَٱلدَّمَ وَلَحۡمَ ٱلۡخِنزِيرِ وَمَآ أُهِلَّ بِهِۦ لِغَيۡرِ ٱللَّهِۖ فَمَنِ ٱضۡطُرَّ غَيۡرَ بَاغٖ وَلَا عَادٖ فَلَآ إِثۡمَ عَلَيۡهِۚ إِنَّ ٱللَّهَ غَفُورٞ رَّحِيمٌ ١٧٣

Innamā harrama 'alaykumul-maytata wad-dama walahmal-khinzīri wamā uhilla bihī lighayrillāhi famanidturra ghayra bāghin walā 'ādin falā ithma 'alayhi innallāha ghafūrur rahīm

He has only forbidden to you dead animals,60 blood, the flesh of swine, and that which has been dedicated to other than Allāh. But whoever is forced [by necessity], neither desiring [it] nor transgressing [its limit], there is no sin upon him. Indeed, Allāh is Forgiving and Merciful.

Footnotes

60 Those not slaughtered or hunted expressly for food.