This phrase is used here to mark the beginning of a new part of the story.
"listening to Jesus teaching them the word of God"