A law that prohibits the use of physical punishment, such as spanking or whipping, as a form of discipline for children.