If you have done your research before, you wouldnt even pose this question.
There is something called hadd punishments and tazeri punishments.
Hadd can only be carried if their are 4 witnesses.
If there are no 4 witnesses, then tazeri punishment is carried.
So what ever you have said is rubbish and lie.
Read this link, and will answer your question about this. Its the other way around, and not what you have been led belief by secularist and enemies of ISLAM.