Matthew 2:12

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

Matthew 2:22

and came into the land of Israel, But having heard, Archelaus reigneth over Judea, in the room of his father Herod, he was afraid to go thither, and being warned of God in a dream, he turned aside into the region of Galilee.

Matthew 27:19

While he sat on the judgment-seat, his wife sent to him, saying, Have thou nothing to do with that just man; for I have suffered many things to-day in a dream because of him.

Matthew 1:20

But while he was thinking on these things, behold an angel of the Lord appeared to him in a dream, saying, Joseph, thou son of David, fear not to take to thee Mary thy wife; for that which is begotten in her, is of the Holy Ghost.

Matthew 2:13

And when they were gone back, behold an angel of the Lord appeareth to Joseph in a dream, saying, Arise and take the young child and his mother, and flee into Egypt, and continue there till I shall tell thee; for Herod will seek the young child to destroy him.

Matthew 2:19

But when Herod was dead, behold an angel of the Lord appeareth in a dream to Joseph in Egypt,

Acts 4:19

But Peter and John answering, said to them, Whether it be righteous in the sight of God, to obey you rather than God, judge ye.

Acts 5:29

Then Peter and the other apostles answering said, We ought to obey God rather than man.

1 Corinthians 3:19

For the wisdom of this world is foolishness with God; as it is written, He taketh the wise in their own craftiness.

Hebrews 11:7

By faith Noah, being warned of God of things not seen as yet, moved with fear, prepared an ark for the saving of his houshold, by which he condemned the world, and became heir of the 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
and came into the land of Israel, But having heard, Archelaus reigneth over Judea, in the room of his father Herod, he was afraid to go thither, and being warned of God in a dream, he turned aside into the region of Galilee.
Matthew 1:20
But while he was thinking on these things, behold an angel of the Lord appeared to him in a dream, saying, Joseph, thou son of David, fear not to take to thee Mary thy wife; for that which is begotten in her, is of the Holy Ghost.
Matthew 27:19
While he sat on the judgment-seat, his wife sent to him, saying, Have thou nothing to do with that just man; for I have suffered many things to-day in a dream because of him.

They departed

Acts 4:19
But Peter and John answering, said to them, Whether it be righteous in the sight of God, to obey you rather than God, judge ye.
Acts 5:29
Then Peter and the other apostles answering said, We ought to obey God rather than man.
1 Corinthians 3:19
For the wisdom of this world is foolishness with God; as it is written, He taketh the wise in their own craftiness.