It follows a fortiori, viz.: If one who is commanded (by beth-din) to smite is exhorted not to smite (more), then one who is commanded not to smite (his father or mother) how much more so is he exhorted not to smite (ab initio).
The Torah Warns Forty Stripes He May Give Him
Mekhilta Tractate Nezikin 5:10