Unfortunately the woman is always at the receiving end. Heads or tail she looses.
Did she ask the robbers to come? Its just an unfortunate incidence. He should find a way to forgive the robbers, go through counselling with his wife and move on. Why divorce her?
Now she has to battle with being robbed, and then raped through no fault of hers and loosing a marriage.
If the man insists let her move on with God on her side she will pick up and be OK.
May God heal her emotionally and psychologically and hope to God that they didn't leave her a disease. Amen