Allah only forbade for you what harms you, such as carrion that was not slaughtered in a Sharia-compliant manner, spilled blood, the flesh of swine, and sacrifices that were slaughtered for other than Allah. And among the favor of Allah upon you and His facilitation is that He made it lawful for you to eat these forbidden things in case of necessity. So whoever is forced by necessity to eat anything of them, not being a wrongdoer in his eating beyond his need, nor exceeding the limits of Allah in what was made lawful for him, then there is no sin upon him in that. Indeed, Allah is Forgiving to His servants, Most Merciful to them.