Exodus 21:20

NIV
New International Version

20“Anyone who beats their male or female slave with a rod must be punished if the slave dies as a direct result,