Matthew 2:12

Then, as they had been divinely warned in a dream not to return to Herod, they went back to their own country by a different road.

Matthew 2:22

but on hearing that Archelaus reigned over Judaea in place of his father Herod, he was afraid to go there and, by a divine injunction in a dream, withdrew to the region of Galilee.

Matthew 27:19

Besides, when he was seated on the tribunal, his wife had sent to tell him, "Do nothing with that innocent man, for I have suffered greatly to-day in a dream about him.")

Matthew 1:20

but after he had planned this, there appeared an angel of the Lord to him in a dream saying, "Joseph, son of David, fear not to take Mary your wife home, for what is begotten in her comes from the holy Spirit.

Matthew 2:13

After they had gone, there appeared an angel of the Lord to Joseph in a dream, saying, "Rise, take the child and his mother and flee to Egypt; stay there till I tell you. For Herod is going to search for the child and destroy him."

Matthew 2:19

But when Herod died, there appeared an angel of the Lord in a dream to Joseph in Egypt,

Acts 4:19

But Peter and John replied, "Decide for yourselves whether it is right before God to obey you rather than God.

Acts 5:29

Peter and the apostles answered, "One must obey God rather than men.

1 Corinthians 3:19

For God ranks this world's wisdom as 'sheer folly.' It is written, He seizes the wise in their craftiness,

Hebrews 11:7

It was by faith that Noah, after being told by God what was still unseen, reverently constructed an ark to save his household; thus he condemned the world and became heir of the righteousness that follows 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 on hearing that Archelaus reigned over Judaea in place of his father Herod, he was afraid to go there and, by a divine injunction in a dream, withdrew to the region of Galilee.
Matthew 1:20
but after he had planned this, there appeared an angel of the Lord to him in a dream saying, "Joseph, son of David, fear not to take Mary your wife home, for what is begotten in her comes from the holy Spirit.
Matthew 27:19
Besides, when he was seated on the tribunal, his wife had sent to tell him, "Do nothing with that innocent man, for I have suffered greatly to-day in a dream about him.")

They departed

Acts 4:19
But Peter and John replied, "Decide for yourselves whether it is right before God to obey you rather than God.
Acts 5:29
Peter and the apostles answered, "One must obey God rather than men.
1 Corinthians 3:19
For God ranks this world's wisdom as 'sheer folly.' It is written, He seizes the wise in their craftiness,