if yes than do we have commited a sinful act and the one we punished have the rights to do the same to us according to the shariah law?
……………………………………………………………………..
This is not acceptable as the punishment must be carried out by the authorities.
One is sinful by beating that person