An-Nisaa • EN-TAZKIRUL-QURAN
﴿ وَٱلَّٰتِى يَأْتِينَ ٱلْفَٰحِشَةَ مِن نِّسَآئِكُمْ فَٱسْتَشْهِدُوا۟ عَلَيْهِنَّ أَرْبَعَةًۭ مِّنكُمْ ۖ فَإِن شَهِدُوا۟ فَأَمْسِكُوهُنَّ فِى ٱلْبُيُوتِ حَتَّىٰ يَتَوَفَّىٰهُنَّ ٱلْمَوْتُ أَوْ يَجْعَلَ ٱللَّهُ لَهُنَّ سَبِيلًۭا ﴾
“AND AS FOR those of your women who become guilty of immoral conduct, call upon four from among you who have witnessed their guilt; and if these bear witness thereto, confine the guilty women to their houses until death takes them away or God opens for them a way [through repentance].”
If a man or a woman commits an act considered a sin according to Islamic tenets, he or she will be dealt with in accordance with the rule of law, and not arbitrarily. It is unjust to declare anyone a criminal without fulfilling the legal conditions, nor is there permission to proceed summarily against even a proven criminal. The purpose of punishment is to uphold justice, and justice cannot be upheld through tyranny and injustice. Moreover, if a sinner pleads guilty and reforms himself, it becomes essential to adopt a sympathetic and forgiving attitude towards him. It is not proper to assess anyone on the basis of his past. When God Himself pardons those who sincerely repent, and turns in His benevolence to those who reform and improve, mere mortals have no right to taunt and ridicule former delinquents. One who taunts and ridicules them may yet prove to be a transgressor himself.