They were using this question as a trap, in order to have a basis for accusing him.
But Jesus bent down and started to write on the ground with his finger. 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.” Again he stooped down and wrote on the ground.
John 8:6-8