It was narrated from Anas that:
a Jew killed a young girl for her jewelry, so the Messenger of Allah killed him in retaliation for her.