Apparently neither of them read John 8:1-11.
Good passage. Also note that 1 Corinthians 5 tells of a problem concerning incest, Paul urging the believers to expel the offenders from the congregation instead of putting them to death.