Matthew 2:12

And having received intimation of the divine will in a dream not to turn back to Herod, by another way they went back to their own country.

Matthew 2:22

And having heard that Archelaus reigned over Judea, instead of Herod his father, he was afraid to go there; and having received intimation of the divine will in a dream, he turned back into the parts of Galilee.

Matthew 27:19

And he sitting upon the judgment seat, his wife sent to him, saying, Nothing to thee and that just one: for I have suffered this day many things in a dream, on his account.

Matthew 1:20

And reflecting upon these things, behold a messenger of the Lord appeared to him saying, Joseph, thou son of David, thou shouldest not fear to take to thyself Mary thy wife: for that begotten in her is of the Holy Spirit.

Matthew 2:13

And they, having gone back, lo, the messenger of the Lord appears in a dream to Joseph, saying, Having risen, take to thyself the young child and his mother and flee into Egypt, and be there till I speak to thee; for Herod is about to seek the young child to destroy him.

Matthew 2:19

And Herod having died, behold a messenger of the Lord appeared in a dream to Joseph in Egypt, saying,

Genesis 20:6-7

And God will say to him in a dream, I knew also that in the uprightness of thy heart thou didst this; and I also will restrain thee from sinning against me: for this I suffered thee not to touch her.

Genesis 31:24

And God will come to Laban the Syrian in a dream of the night and will say to him, Watch to thyself, lest thou shalt speak with Jacob from good to evil.

Exodus 1:17

And the midwives will fear God, and they did not according to what the king of Egypt said to them, and they will preserve alive the boys.

Job 33:15-17

In a dream, in a vision of the night, in the falling of deep sleep upon men, in slumbers upon the bed;

Daniel 2:19

Then to Daniel in a vision of the night was the secret uncovered. Then Daniel praised to the God of the heavens.

Acts 4:19

And Peter and John having answered to them, said, If it is just before God to hear you rather than God, judge ye.

Acts 5:29

And Peter having answered, and the sent, said, We must obey God rather than men.

1 Corinthians 3:19

For the wisdom of this world is foolishness with God. For it has been written, He seizing the wise in their deceptions.

Hebrews 11:7

By faith Noah, having an intimation of the divine will of things not yet seen, being circumspect, prepared an ark for the salvation of his house; by which he condemned the world, and by faith became an heir of justice.

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 having heard that Archelaus reigned over Judea, instead of Herod his father, he was afraid to go there; and having received intimation of the divine will in a dream, he turned back into the parts of Galilee.
Matthew 1:20
And reflecting upon these things, behold a messenger of the Lord appeared to him saying, Joseph, thou son of David, thou shouldest not fear to take to thyself Mary thy wife: for that begotten in her is of the Holy Spirit.
Matthew 27:19
And he sitting upon the judgment seat, his wife sent to him, saying, Nothing to thee and that just one: for I have suffered this day many things in a dream, on his account.
Genesis 20:6
And God will say to him in a dream, I knew also that in the uprightness of thy heart thou didst this; and I also will restrain thee from sinning against me: for this I suffered thee not to touch her.
Genesis 31:24
And God will come to Laban the Syrian in a dream of the night and will say to him, Watch to thyself, lest thou shalt speak with Jacob from good to evil.
Job 33:15
In a dream, in a vision of the night, in the falling of deep sleep upon men, in slumbers upon the bed;
Daniel 2:19
Then to Daniel in a vision of the night was the secret uncovered. Then Daniel praised to the God of the heavens.

They departed

Exodus 1:17
And the midwives will fear God, and they did not according to what the king of Egypt said to them, and they will preserve alive the boys.
Acts 4:19
And Peter and John having answered to them, said, If it is just before God to hear you rather than God, judge ye.
Acts 5:29
And Peter having answered, and the sent, said, We must obey God rather than men.
1 Corinthians 3:19
For the wisdom of this world is foolishness with God. For it has been written, He seizing the wise in their deceptions.