is it sharia?

yes there can be similar punishments in hudood laws but difference remain how they can be implemented and what happened above was unislamic from every aspect.
there was no court, they way punishment administered, and who were administering them..