Rapist have to be punished in any case.
That penalty for a rapist is not crude, is the only equivalent option. If you are in non Mislim country In any case you could go with local authorities, they will capture, judge and punish him (with jail, of course) not regarding his religion. If you need justice, you can go with the legal authorities in your location.