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

but when he heard that Archelaus reigned over Judea in the room of Herod his father, he was afraid to go thither; however being warned of God in a dream, he retired into the district of Galilee.

Matthew 27:19

(And while he was sitting on the tribunal, his wife sent to him, saying, Have nothing to do with that righteous man: for I have suffered much in a dream to day on his account.)

Matthew 1:20

and when he was thinking on these things, behold an angel of the Lord appeared to him in a dream, saying, Joseph thou Son of David, scruple not to take unto thee Mary thy wife; for that which is conceived in her is from the Holy Spirit.

Matthew 2:13

And when they were departed, behold an angel of the Lord appeareth to Joseph in a dream, saying, Rise and take the child and his mother, and flee into Egypt, and continue there, untill I tell thee to return: for Herod will seek the 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 answered them, and said, Whether it be right in the sight of God to obey you rather than God, judge ye:

Acts 5:29

But Peter, and the other apostles, answered, and said, We ought to obey God rather than men.

1 Corinthians 3:19

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

Hebrews 11:7

By faith Noah being warned by God of things which were not yet seen, moved with pious fear, prepared an ark for the safety of his family; whereby 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
but when he heard that Archelaus reigned over Judea in the room of Herod his father, he was afraid to go thither; however being warned of God in a dream, he retired into the district of Galilee.
Matthew 1:20
and when he was thinking on these things, behold an angel of the Lord appeared to him in a dream, saying, Joseph thou Son of David, scruple not to take unto thee Mary thy wife; for that which is conceived in her is from the Holy Spirit.
Matthew 27:19
(And while he was sitting on the tribunal, his wife sent to him, saying, Have nothing to do with that righteous man: for I have suffered much in a dream to day on his account.)

They departed

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