What is the prescribed punishment for one who commits rape.

In terms of Islamic legal punishment, in an Islamic country the judge issues a decree (tazeer)

In terms of Gods punishment, it’s severe if they don’t seek repentance