The question is often asked of Christians: What would Jesus do? This is often in hypothetical situations. It is often used frivolously, even in advertising. For example, this image (right) was used in a discussion on health insurance in the USA.
But often times this question is posed to trip up the believer with some difficult, or apparently difficult situation. Jesus himself was presented with many difficult problems by those who tried to trap him during His earthly ministry.
One such situation is the case of the woman caught in adultery (John 8:1-11). The scribes and Pharisees brought a woman to him who was caught in the very act of adultery. (I don’t know why they didn’t bring the man also.) They challenged Jesus with:
Now Moses in the law commanded us, that such should be stoned: but what sayest thou? This they said, tempting him, that they might have to accuse him. But Jesus stooped down, and with his finger wrote on the ground, as though he heard them not. (John 8:5,6)
Jesus knowing their hearts, he could see their sin, said:
… He that is without sin among you, let him first cast a stone at her. (John 8:7)