(We imagine) Jesus knew this scripture by heart:
Proverbs 7:5
that they may keep you from the adulteress, from the stranger with seductive words.
Proverbs 22:14
The mouth of an adulteress is a deep pit; he who is cursed by the LORD will fall into it.
Proverbs 23:27
For a prostitute is a deep pit, and an adulteress is a narrow well.
Leviticus 20:10
If a man commits adultery with another man's wife--with the wife of his neighbor--both the adulterer and the adulteress must surely be put to death.
And yet, here is
Jesus' response:
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.
Hebrews 8
12 For I will forgive their iniquities and will remember their sins no more.”
13
By speaking of a new covenant, He has made the first one obsolete;
and what is obsolete and aging will soon disappear.
So if a woman has an abortion, this is how Jesus would respond as well.