This phrase is used here to mark the beginning of a new part of the story. If your language has a way for doing this, you could consider using it here. (See: [[rc://en/ta/man/translate/writing-newevent]])
It may be more natural to state that Jesus finished praying before the disciple asked the question. AT: "that Jesus was praying in a certain place. When he finished praying, one of"