Rape victim receives 101 lashes for becoming pregnant

can you pls explain a little more…what does islamic text books say on such punishment and the justice procedure…how a rape a proved…etc…