Answers to Questions by Yair Davidiy
If someone is Jewish or Muslim, could they receive a pig organ if it was their only chance at life?
Pigs aren't Kosher, they're haram to Muslims, but xenotransplantation from a pig might be someone's only chance at survival. How do these religions weigh a person's life against this?
In the past many Muslim believed that any part of a pig attached to a dead person prevented them from going to heaven. Even "sahidis" (martyrs) who had died in the cause of Islam would be so penalized. This was used effectively to discourage Muslim terrorists by the British and American in previous generations. There are articles on the Internet about this:
# Sewing Muslim Jihadis into pigskins or hanging them in pigskins or burying them in pigskins appeared to have been practiced by the US in the Philippines and the British in India. #
See: HOW AMERICAN SOLDIERS USED PIG'S BLOOD AND CORPSES TO FIGHT MUSLIM TERRORISM
Before political correctness, our soldiers were free to fight back.
by Daniel Greenfield
The historicity of this action in the case of Americans in the Philippines has been challenged by historians. So too, there is a Quora Question with 14 answers (as of today) all of which belie the premise.
See: Can burying Muslim terrorists with pigskins work as a deterrent?
Nevertheless there is probably something to it.
Popular religious belief does not always exactly correspond to official theology.