And having received a response in sleep that they should not return to Herod, they went back by another way to their own region
Other versions
King James Version
And being warned of God in a dream that they should not return to Herod, they departed into their own country another way.English Standard Version
And being warned in a dream not to return to Herod, they departed to their own country by another way.New International Version
And having been warned in a dream not to go back to Herod, they returned to their country by another route.