Necrophilia in Islam
This article looks at how Islam views necrophilia.
There doesn't seem to be any verse supporting or denouncing necrophilia. There are some general rules, to be "just" and "don't commit bad deeds", but since pedophilia in Islam is ok, we can't be sure necrophilia isn't.
Unlike the prohibition on pork, a prohibition on necrophilia was NOT mentioned in the Quran. It's worth nothing that there is a verse telling Muslims not to say something is haram, when Allah did not make it haram:
And do not say about what your tongues assert of untruth, "This is lawful and this is unlawful," to invent falsehood about Allah . Indeed, those who invent falsehood about Allah will not succeed.
Ibn Kathir explains the verse as such:
(And do not describe what your tongues have lied about, saying: "This is lawful and this is forbidden", to invent lies against Allah.) This includes everyone who comes up with an innovation (Bid`ah) for which he has no evidence from the Shari`ah, or whoever declares something lawful that Allah has forbidden, or whoever declares something unlawful that Allah has permitted, only because it suits his opinions or whim to do so.
So claiming that necrophilia is haram could be considered a bid'ah (innovation), which is a sin in Islam.