Matthew 2:12

And having been warned by God in a dream not to return to Herod, they went back to their own country another way.

Matthew 2:22

But when he heard that Archelaus was reigning in Judaea in the place of his father Herod, he was afraid to go thither; and being warned by God in a dream, he withdrew into the parts of Galilee,

Matthew 27:19

And while he was sitting on the judgmentseat, his wife sent to him, saying, Have nothing to do with that righteous man; for I have suffered much this day in a dream because of him.

Matthew 1:20

But while he thought on these things, lo! an angel of the Lord appeared to him in a dream, saying, Joseph, son of David, fear not to take to thee Mary thy wife; for that which is conceived in her is by the Holy Spirit.

Matthew 2:13

And when they had gone, lo! an angel of the Lord appeareth to Joseph in a dream, saying, Arise, and take the child and his mother, and flee into Egypt, and remain there until I speak to thee; for Herod will seek the child, to destroy him.

Matthew 2:19

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

Acts 4:19

But Peter and John answered and said to them, Whether it is right in the sight of God to hearken to you rather than to God, judge ye.

Acts 5:29

But Peter and the 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 that taketh the wise in their craftiness;"

Hebrews 11:7

By faith Noah, being warned by God of things not yet seen, moved with fear, prepared an ark for the saving of his house; by which he condemned the world, and became heir of the righteousness which is according to 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 was reigning in Judaea in the place of his father Herod, he was afraid to go thither; and being warned by God in a dream, he withdrew into the parts of Galilee,
Matthew 1:20
But while he thought on these things, lo! an angel of the Lord appeared to him in a dream, saying, Joseph, son of David, fear not to take to thee Mary thy wife; for that which is conceived in her is by the Holy Spirit.
Matthew 27:19
And while he was sitting on the judgmentseat, his wife sent to him, saying, Have nothing to do with that righteous man; for I have suffered much this day in a dream because of him.

They departed

Acts 4:19
But Peter and John answered and said to them, Whether it is right in the sight of God to hearken to you rather than to God, judge ye.
Acts 5:29
But Peter and the 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 that taketh the wise in their craftiness;"