Matthew 4:12
Preaching in Galilee
4:12 Now when Jesus heard that John had been imprisoned, he went into Galilee.
Matthew 11:2
Jesus and John the Baptist
11:2 Now when John heard in prison about the deeds Christ had done, he sent his disciples to ask a question:
Matthew 14:2
14:2 and he said to his servants, “This is John the Baptist. He has been raised from the dead! And because of this, miraculous powers are at work in him.”
Luke 3:20
3:20 Herod added this to them all: He locked up John in prison.
John 3:22-24
Further Testimony About Jesus by John the Baptist
3:22 After this, Jesus and his disciples came into Judean territory, and there he spent time with them and was baptizing.
3:23 John was also baptizing at Aenon near Salim, because water was plentiful there, and people were coming to him and being baptized.
3:24 (For John had not yet been thrown into prison.)