Berean Standard Bible (BSB)
As soon as Jesus and His companions had left the synagogue, they went with James and John to the home of Simon and Andrew.
World English Bible (WEB)
Immediately, when they had come out of the synagogue, they came into the house of Simon and Andrew, with James and John.
Strong's King James
And{G2532} forthwith{G2112}, when they were come{G1831}{(G5631)} out of{G1537} the synagogue{G4864}, they entered{G2064}{(G5627)} into{G1519} the house{G3614} of Simon{G4613} and{G2532} Andrew{G406}, with{G3326} James{G2385} and{G2532} John{G2491}.
The F.O.G *
And straightaway going out of the synagogue they came into the house of Shim'on and Andrew with Ya'akov and Yochanan.
The F.O.G Message *
Going out from that synagogue they came to Simon's house with Andrew, Jacob and John.
Young's Literal Translation
And immediately, having come forth out of the synagogue, they went to the house of Simon and Andrew, with James and John,