Matthew 2:12

and having been divinely warned in a dream not to turn back unto Herod, through another way they withdrew to their own region.

Matthew 2:22

and having heard that Archelaus doth reign over Judea instead of Herod his father, he was afraid to go thither, and having been divinely warned in a dream, he withdrew to the parts of Galilee,

Matthew 27:19

And as he is sitting on the tribunal, his wife sent unto him, saying, 'Nothing -- to thee and to that righteous one, for many things did I suffer to-day in a dream because of him.'

Matthew 1:20

And on his thinking of these things, lo, a messenger of the Lord in a dream appeared to him, saying, 'Joseph, son of David, thou mayest not fear to receive Mary thy wife, for that which in her was begotten is of the Holy Spirit,

Matthew 2:13

And on their having withdrawn, lo, a messenger of the Lord doth appear in a dream to Joseph, saying, 'Having risen, take the child and his mother, and flee to Egypt, and be thou there till I may speak to thee, for Herod is about to seek the child to destroy him.'

Matthew 2:19

And Herod having died, lo, a messenger of the Lord in a dream doth appear to Joseph in Egypt,

Genesis 20:6-7

And God saith unto him in the dream, 'Yea, I -- I have known that in the integrity of thy heart thou hast done this, and I withhold thee, even I, from sinning against Me, therefore I have not suffered thee to come against her;

Genesis 31:24

And God cometh in unto Laban the Aramaean in a dream of the night, and saith to him, 'Take heed to thyself lest thou speak with Jacob from good unto evil.'

Exodus 1:17

And the midwives fear God, and have not done as the king of Egypt hath spoken unto them, and keep the lads alive;

Job 33:15-17

In a dream -- a vision of night, In the falling of deep sleep on men, In slumberings on a bed.

Daniel 2:19

Then to Daniel, in a vision of the night, the secret hath been revealed. Then hath Daniel blessed the God of the heavens.

Acts 4:19

and Peter and John answering unto them said, 'Whether it is righteous before God to hearken to you rather than to God, judge ye;

Acts 5:29

And Peter and the apostles answering, said, 'To obey God it behoveth, rather than men;

1 Corinthians 3:19

for the wisdom of this world is foolishness with God, for it hath been written, 'Who is taking the wise in their craftiness;'

Hebrews 11:7

By faith Noah, having been divinely warned concerning the things not yet seen, having feared, did prepare an ark to the salvation of his house, through which he did condemn the world, and of the righteousness according to faith he became heir.

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 doth reign over Judea instead of Herod his father, he was afraid to go thither, and having been divinely warned in a dream, he withdrew to the parts of Galilee,
Matthew 1:20
And on his thinking of these things, lo, a messenger of the Lord in a dream appeared to him, saying, 'Joseph, son of David, thou mayest not fear to receive Mary thy wife, for that which in her was begotten is of the Holy Spirit,
Matthew 27:19
And as he is sitting on the tribunal, his wife sent unto him, saying, 'Nothing -- to thee and to that righteous one, for many things did I suffer to-day in a dream because of him.'
Genesis 20:6
And God saith unto him in the dream, 'Yea, I -- I have known that in the integrity of thy heart thou hast done this, and I withhold thee, even I, from sinning against Me, therefore I have not suffered thee to come against her;
Genesis 31:24
And God cometh in unto Laban the Aramaean in a dream of the night, and saith to him, 'Take heed to thyself lest thou speak with Jacob from good unto evil.'
Job 33:15
In a dream -- a vision of night, In the falling of deep sleep on men, In slumberings on a bed.
Daniel 2:19
Then to Daniel, in a vision of the night, the secret hath been revealed. Then hath Daniel blessed the God of the heavens.

They departed

Exodus 1:17
And the midwives fear God, and have not done as the king of Egypt hath spoken unto them, and keep the lads alive;
Acts 4:19
and Peter and John answering unto them said, 'Whether it is righteous before God to hearken to you rather than to God, judge ye;
Acts 5:29
And Peter and the apostles answering, said, 'To obey God it behoveth, rather than men;
1 Corinthians 3:19
for the wisdom of this world is foolishness with God, for it hath been written, 'Who is taking the wise in their craftiness;'