Wiktionary
endocannibalism
n. A form of cannibalism, the eating of dead members of one's own social group, often associated with spiritual beliefs.
Wikipedia
Endocannibalism
Endocannibalism is a practice of eating the flesh of a human being from the same community ( tribe, social group or society), usually after they have died. Endocannibalism has also been used to describe the consumption of relics in a mortuary context.