Wikipedia
Maschalismos is the practice of physically rendering the dead incapable of rising or haunting the living in undead form. It comes from the Ancient Greek word and was also the term for procedural rules on such matters in later Greek customary law.
Such acts considered maschalismos were not limited to folkloric physical risings but also meant to escape the ill will of those wrongfully slain by a murderer after death. One common method was the cutting off of the feet, hands, ears, nose, et cetera, tying them under the armpits of the corpse all strung together. The piercing of the infant Oedipus' feet at the time he was abandoned may be considered a kind of maschalismos on the still-living.
In Aeschylus' tragedy Choephori and Sophocles' tragedy Electra, Clytemnestra performs maschalismos on the body of Agamemnon after his murder, to prevent his taking vengeance on her. In the Argonautica of Apollonius of Rhodes, Jason performs maschalismos on the body of Medea's brother Apsyrtus after treacherously murdering him; in addition to cutting off the extremities, Jason licks the dead man's blood three times and spits it out three times. "The scholiast says that the blood was spat into the mouth of the deceased," according to a footnote in the Loeb edition.
The term maschalismos has widened to include the customs throughout the different cultures of the world in ritually mutilating their dead to prevent their wrath from affecting the living. In the Moluccas, a woman who has died in childbirth is buried with pins stuck through the joints, and an egg under the chin and or armpits; believing that the dead fly like birds and the presence of eggs will bring out maternal instincts which make the ghost not leave the eggs and thus stay with its former body. In Europe, it was sometimes common that suicides were buried with a stake driven through the heart, the body buried upside down, or the head cut off and placed between the legs. The Omaha, a tribe of American Indians, slit the soles of the feet of those killed by lightning; the Basuto and Bechuana slit the sinews and spinal cord of their dead; the Herbert River aborigines of Australia beat the body enough to break its bones and fill incisions made in the body with stones. Further forms of maschalismos are equally common among peoples the world over.