UK’s smacking law like Sharia

You can smack a child in the UK if it’s for “reasonable chastisement and does not leave a serious mark”. It reminds me of the Sharia…