2,498. Secular Slaughter in the Temple Courtyard
Hilchos Shechita 2:2
Animals slaughtered outside the Temple grounds may be eaten anywhere but if one slaughters a secular animal in the Temple courtyard, that meat is ritually clean and it is prohibited for benefit like a meat-and-milk combination. Such meat must be buried; if burned, its ashes are prohibited. This is so even if the animal was slaughtered for medicinal purposes, as food for non-Jews, or to feed to dogs. However, if someone severs an animal’s head in the Temple courtyard, if he tears the signs (i.e., the trachea and the esophagus) from their location, if a non-Jew slaughters, if the animal is found to be a treifa, or if one slaughters a non-kosher domesticated or wild animal or bird in the Temple courtyard – in all of these cases, it is permitted for benefit.
Hilchos Shechita 2:3
The above isn’t limited to domesticated and wild animals; it is prohibited to bring any secular food into the Temple courtyard, whether meat, fruit or bread. If one violated the law and brough such food in, it remains permitted to eat that food. All this is from our oral tradition. If anyone slaughters a secular animal in the Temple courtyard or eats an olive-sized piece of meat from a secular animal that was slaughtered there, he is liable to stripes for acting rebelliously.