If And Punished in the WEB
3 verses of the World English Bible have both "if" and "punished".
Exodus 21:20 “If a man strikes his servant or his maid with a rod, and he dies under his hand, the man shall surely be punished.
Exodus 21:21 Notwithstanding, if his servant gets up after a day or two, he shall not be punished, for the servant is his property.
Leviticus 19:20 “‘If a man lies carnally with a woman who is a slave girl, pledged to be married to another man, and not ransomed or given her freedom; they shall be punished. They shall not be put to death, because she was not free.