Matthew 2:12

but being divinely warn'd in a dream, not to go back to Herod, they returned into their own country another way.

Matthew 2:22

but when he heard that Archelaus reigned in Judea, in the room of his father Herod, he was apprehensive of going thither, till having had a divine warning in a dream, he retired into the district of Galilee:

Matthew 27:19

Whilst he was sitting on the tribunal, his wife sent this message to him, pray, have nothing to do with that just man: for to-day I have suffered very much on his account in a dream.

Matthew 1:20

but while he was revolving this in his mind, an angel of the Lord appeared to him in a dream, saying, Joseph, the off-spring of David, don't make any difficulty of taking Mary for thy wife: for her pregnancy is from the holy Spirit.

Matthew 2:13

When they were gone, an angel of the Lord appeareth to Joseph in a dream, saying, Arise, take the infant and his mother, flee into Egypt, and don't stir thence till I order you, for Herod will endeavour to have the child destroy'd. Joseph therefore arose,

Matthew 2:19

But after the death of Herod, an angel of the Lord appeareth in a dream to Joseph in Egypt,

Acts 4:19

but Peter and John made answer, do you yourselves judge, whether it be right in the sight of God, to obey you rather than God.

Acts 5:29

then Peter and the other apostles made answer, we ought to obey God rather than men.

1 Corinthians 3:19

for the wisdom of this world is folly, in the eye of God: as it is written, "he surprizes the wise in all their artifices."

Hebrews 11:7

'Twas by faith that Noah being divinely warned of unforeseen events, with a religious concern built an ark to the preservation of his family; whereby the world became inexcusable, and he obtained the reward of that righteousness which is by faith.

Treasury of Scripture Knowledge

Summary

And being warned of God in a dream that they should not return to Herod, they departed into their own country another way.

Bible References

Warned

Matthew 2:22
but when he heard that Archelaus reigned in Judea, in the room of his father Herod, he was apprehensive of going thither, till having had a divine warning in a dream, he retired into the district of Galilee:
Matthew 1:20
but while he was revolving this in his mind, an angel of the Lord appeared to him in a dream, saying, Joseph, the off-spring of David, don't make any difficulty of taking Mary for thy wife: for her pregnancy is from the holy Spirit.
Matthew 27:19
Whilst he was sitting on the tribunal, his wife sent this message to him, pray, have nothing to do with that just man: for to-day I have suffered very much on his account in a dream.

They departed

Acts 4:19
but Peter and John made answer, do you yourselves judge, whether it be right in the sight of God, to obey you rather than God.
Acts 5:29
then Peter and the other apostles made answer, we ought to obey God rather than men.
1 Corinthians 3:19
for the wisdom of this world is folly, in the eye of God: as it is written, "he surprizes the wise in all their artifices."