John 8:10-11:

When Jesus had lifted up himself, and saw none but the woman, he said unto her, Woman, where are those thine accusers? hath no man condemned thee?
She said, No man, Lord. And Jesus said unto her, Neither do I condemn thee: go, and sin no more.

See also:

Sickness as Chastening and Judgment in the New Testament
Can I Get Healed of Alcoholism, Drug Abuse, Pornography and Homosexuality?