Complex sentence: There was a girl who was raped (at the time of the Prophet), she was freed from punishment for perzinahan (sexual intercourse outside of marriage), while the perpetrator was subjected to punishment.
Split into simpler sentences: There was a girl who was raped (at the time of the Prophet). She was freed from punishment for zina (sexual intercourse outside of marriage), while the perpetrator was subjected to punishment.