In the story of Prophet Musa (as), he hit a person so hard that he killed him. Is it not Haram to hit someone and then also to kill a person? How can a Prophet do such an action?

Domestic violence
In the story of Prophet Musa (as), he hit a person so hard that he killed him. Is it not Haram to hit someone and then also to kill a person? How can a Prophet do such an action?
Sayyed Mohammad Al-Musawi, Sayyed Mohammad al-Musawi is originally from Iraq and heads up the World Ahlul Bayt Islamic League in London. Other than being involved in various humanitarian projects, he frequently responds to... Answered 5 years ago

That person was a criminal who was entitled to be killed, that is why Prophet Musa who is infallible killed him. 
Wassalam.