(Exodus 21:28) "the ox shall be stoned and its flesh shall not be eaten": Why is this stated? From "the ox shall be stoned," do I not know that its flesh is forbidden? (It is neveilah [carcass].) But (the meaning is that) if the ox were taken out to be stoned, and its owner intervened and slaughtered it, its flesh may not be eaten.
The Ox Shall Be Stoned and Its Flesh
Mekhilta Tractate Nezikin 10:8