Luke 7:1
When Jesus had finished saying all this to the people who were listening, he entered Capernaum — the transition from the Sermon on the Plain to the Capernaum miracle is the same as Matthew's transition after the Sermon on the Mount. The finishing of the teaching and the entering of Capernaum establishes the geographical context for the centurion's request.