Baba Kama 7:2-3
Baba Kama 7:2
If two witnesses testify that a certain person stole an ox or a sheep, and then they or two other witnesses testify that he sold or slaughtered it, then the accused must pay fourfold or fivefold. If someone stole and sold an animal on Shabbos, or for idolatrous purposes, or if he stole and slaughtered an animal on Yom Kippur, or if he stole an animal belonging to his father and sold or slaughtered it and his father subsequently died, or if he stole and slaughtered an animal and subsequently consecrated the meat to the Temple – in all of these cases, he pays fourfold or fivefold. If he stole an animal and slaughtered it to make medicine for a sick person or dog food, if he slaughtered it and found it to be unkosher, if he slaughtered it in the Temple courtyard but not as a sacrifice – he pays fourfold or fivefold, though Rabbi Shimon exempts him in the latter two scenarios.
Baba Kama 7:3
If two witnesses testify that a certain person stole and sold or slaughtered an ox or a sheep, and then they were found to be framing the accused with false testimony, then the lying witnesses must pay fourfold or fivefold. If two witnesses testify that he stole the animal and two others testify that he sold or slaughtered it, then all the witnesses are found to be lying, the first two pay double and the latter two pay triple. If only the latter two were found to be false witnesses, then the accused pays double (for stealing, of which he was convicted), while the false witnesses pay triple. If only one of the latter witnesses is found to be lying, the testimony that the accused sold and slaughtered the animal is discarded. If only one of the first witnesses is found to be lying, the entire testimony is discarded because if he didn’t steal the animal, he couldn’t have sold or slaughtered it.