It's not that hard;
Truth:
Lev 20:10 “‘If a man commits adultery with another man’s wife—with the wife of his neighbor—both the adulterer and the adulteress are to be put to death.
Jn 8:3 The teachers of the law and the Pharisees brought in a woman caught in adultery. They made her stand before the group4 and said to Jesus, “Teacher, this woman was caught in the act of adultery.5 In the Law Moses commanded us to stone such women.Now what do you say?”
Grace:
Jn 8:7 When they kept on questioning him, he straightened up and said to them, “Let any one of you who is without sin be the first to throw a stone at her.”8 Again he stooped down and wrote on the ground.9 At this, those who heard began to go away one at a time, the older ones first, until only Jesus was left, with the woman still standing there.10 Jesus straightened up and asked her, “Woman, where are they? Has no one condemned you?”
11 “No one, sir,” she said.
“Then neither do I condemn you,”Jesus declared. “Go now and leave your life of sin.”
Truth, Grace and Clear Instruction:
1Cr 5:11 But now I have written unto you not to keep company, if any man that is called a brother be a fornicator, or covetous, or an idolater, or a railer, or a drunkard, or an extortioner; with such an one no not to eat.
1Cr 5:12 For what have I to do to judge them also that are without? do not ye
judge them that are within?
1Cr 5:13 But
them that are without God judgeth.
Therefore put away from among yourselves that wicked person.
No one gets stoned or even punished. Our instruction is to convey Jesus thought, "Go now and leave your life of sin."
It's Grace and Truth.