God: Exodus 21:20-21 (New International Version)
20 "If a man beats his male or female slave with a rod and the slave dies as a direct result, he must be punished, 21 but he is not to be punished if the slave gets up after a day or two, since the slave is his property.
Jesus: Luke 12:47-48 (New International Version)
47"That servant who knows his master's will and does not get ready or does not do what his master wants will be beaten with many blows. 48But the one who does not know and does things deserving punishment will be beaten with few blows.
GOD AND JESUS APPROVED