Matthew 2:12

And it was made clear to them by God in a dream that they were not to go back to Herod; so they went into their country by another way.

Matthew 2:22

But when it came to his ears that Archelaus was ruling over Judaea in the place of his father Herod, he was in fear of going there; and God having given him news of the danger in a dream, he went out of the way into the country parts of Galilee.

Matthew 27:19

And while he was on the judge's seat, his wife sent to him, saying, Have nothing to do with that upright man, for I have had much trouble this day in a dream because of him.

Matthew 1:20

But when he was giving thought to these things, an angel of the Lord came to him in a dream, saying, Joseph, son of David, have no fear of taking Mary as your wife; because that which is in her body is of the Holy Spirit.

Matthew 2:13

And when they had gone, an angel of the Lord came to Joseph in a dream, saying, Get up and take the young child and his mother, and go into Egypt, and do not go from there till I give you word; for Herod will be searching for the young child to put him to death.

Matthew 2:19

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

Genesis 20:6-7

And God said to him in the dream, I see that you have done this with an upright heart, and I have kept you from sinning against me: for this reason I did not let you come near her.

Genesis 31:24

Then God came to Laban in a dream by night, and said to him, Take care that you say nothing good or bad to Jacob.

Exodus 1:17

But the women had the fear of God, and did not do as the king of Egypt said, but let the male children go on living.

Job 33:15-17

In a dream, in a vision of the night, when deep sleep comes on men, while they take their rest on their beds;

Daniel 2:19

Then the secret was made clear to Daniel in a vision of the night. And Daniel gave blessing to the God of heaven.

Acts 4:19

But Peter and John in answer said to them, It is for you to say if it is right in the eyes of God to give attention to you more than to God:

Acts 5:29

But Peter and the Apostles, answering, said, We have to do the orders of God, not of man.

1 Corinthians 3:19

For the wisdom of this world is foolish before God. As it is said in the holy Writings, He who takes the wise in their secret designs:

Hebrews 11:7

By faith Noah, being moved by the fear of God, made ready an ark for the salvation of his family, because God had given him news of things which were not seen at the time; and through it the world was judged by him, and he got for his heritage 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 it came to his ears that Archelaus was ruling over Judaea in the place of his father Herod, he was in fear of going there; and God having given him news of the danger in a dream, he went out of the way into the country parts of Galilee.
Matthew 1:20
But when he was giving thought to these things, an angel of the Lord came to him in a dream, saying, Joseph, son of David, have no fear of taking Mary as your wife; because that which is in her body is of the Holy Spirit.
Matthew 27:19
And while he was on the judge's seat, his wife sent to him, saying, Have nothing to do with that upright man, for I have had much trouble this day in a dream because of him.
Genesis 20:6
And God said to him in the dream, I see that you have done this with an upright heart, and I have kept you from sinning against me: for this reason I did not let you come near her.
Genesis 31:24
Then God came to Laban in a dream by night, and said to him, Take care that you say nothing good or bad to Jacob.
Job 33:15
In a dream, in a vision of the night, when deep sleep comes on men, while they take their rest on their beds;
Daniel 2:19
Then the secret was made clear to Daniel in a vision of the night. And Daniel gave blessing to the God of heaven.

They departed

Exodus 1:17
But the women had the fear of God, and did not do as the king of Egypt said, but let the male children go on living.
Acts 4:19
But Peter and John in answer said to them, It is for you to say if it is right in the eyes of God to give attention to you more than to God:
Acts 5:29
But Peter and the Apostles, answering, said, We have to do the orders of God, not of man.
1 Corinthians 3:19
For the wisdom of this world is foolish before God. As it is said in the holy Writings, He who takes the wise in their secret designs:

Basic English, produced by Mr C. K. Ogden of the Orthological Institute - public domain