When Sabbath came,
He taught there.”
Καὶ εἰσπορεύονται εἰς Καφαρναούμ· καὶ εὐθὺς τοῖς σάββασιν εἰσελθὼν εἰς τὴν συναγωγὴν ἐδίδασκεν.
There is something similar to this in Luke, chapter 4:31, where Jesus was teaching on the Sabbath in Capernaum. Jesus and his entourage of at least 4 disciples went, traveled, or entered Capernaum (Καὶ εἰσπορεύονται εἰς Καφαρναούμ). When suddenly the Sabbath came (καὶ εὐθὺς τοῖς σάββασιν), Jesus entered the synagogue (εἰσελθὼν εἰς τὴν συναγωγὴν) and taught there (ἐδίδασκεν). Matthew, chapter 4:13, mentioned that Jesus set up his home in Capernaum. John, chapter 2:12, said that he went with his family to Capernaum for a few days. Capernaum was about 20 miles northeast of Nazareth, probably a fishing village of about 1,500 people at that time, on the northwest corner of the Sea of Galilee, in the old Israelite tribal territory of Zebulun and Naphtali. Synagogues were a new thing in the first century CE, something like local Jewish town hall meetings, but also as centers of study and worship, obviously outside of Jerusalem and its Temple. There may have been some sort of Sabbath worship taking place. Jesus with his disciples went there, which would not have been unusual. However, the fact that he taught there might seem a little strange, if not invited.