Jesus gave the adultress woman a fresh re-start at living her life. Then he said to her....
...”Go and sin no more”.
Jesus was against sin. And he made it clear by that statement, that what she was doing was sin!
adultress=adulterous
On the other hand, when a woman was brought to Mohammed, he waited till she had the child, and it was weaned. THEN he had her tied, placed in a ditch and stoned to death.