So far I can give you a few Ayats that you must have knowledge of:
4:15. If any of your women are guilty of lewdness, Take the evidence of four witnesses from amongst you against them; and if they testify, confine them to houses until death do claim them, or Allah ordain for them some [other] way.
4:89. They but wish that ye should reject Faith, as they do, and thus be on the same footing [as they]: But take not friends from their ranks until they flee in the way of Allah [From what is forbidden]. But if they turn renegades (reject faith), seize them and kill them wherever ye find them; and [in any case] take no friends or helpers from their ranks;-