"And his flesh shall not be eaten"—Exodus 21:28.

It is forbidden to eat of the flesh of an ox [or any other animal] condemned to death by the courts [e.g., for killing a human].

This prohibition holds even if the ox was properly slaughtered before the sentence was carried out.