Yeah, but to convict a man of rape, Sharia usually requires 4 male muslim witness to confirm the allegation of the woman. Until then, the woman is considered unfaithful, and adultry is punishable by death.
This happened a few years ago in Nigeria, although they stayed the execution (stoneing) until the woman finished nursing her child, coneived in that rape.