Matthew 2:12

Then, as they had been divinely warned in a dream not to go back to Herod, they returned to their own country by another way.

Matthew 2:22

But hearing that Archelaus was reigning over Judea in the place of his father, Herod, he was afraid to return there; and being warned in a dream, he took refuge in the region of Galilee,

Matthew 27:19

Now while he was on the bench his wife sent to him to say, "Do not have anything to do with that upright man, for I have just had a painful experience in a dream about him."

Matthew 1:20

But while he was thinking of doing this, an angel of the Lord appeared to him in a dream, and said, "Joseph, descendant of David, do not fear to take Mary, your wife, to your home, for it is through the influence of the holy Spirit that she is to become a mother.

Matthew 2:13

When they were gone, an angel of the Lord appeared to Joseph in a dream, and said, "Wake up! Take the child and his mother and make your escape to Egypt, and stay there until I tell you to leave. For Herod is going to look for the child in order to make away with him."

Matthew 2:19

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

Acts 4:19

But Peter and John answered them, "You must decide whether it is right in the sight of God to obey you instead of him,

Acts 5:29

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

1 Corinthians 3:19

For this world's wisdom is foolishness to God. For the Scripture says, "He who catches the wise with their own cunning,"

Hebrews 11:7

Faith led Noah, when he was warned by God of things no one then saw, in obedience to the warning to build an ark in which to save his family, and by such faith he condemned the world, and came to possess that uprightness which faith produces.

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 hearing that Archelaus was reigning over Judea in the place of his father, Herod, he was afraid to return there; and being warned in a dream, he took refuge in the region of Galilee,
Matthew 1:20
But while he was thinking of doing this, an angel of the Lord appeared to him in a dream, and said, "Joseph, descendant of David, do not fear to take Mary, your wife, to your home, for it is through the influence of the holy Spirit that she is to become a mother.
Matthew 27:19
Now while he was on the bench his wife sent to him to say, "Do not have anything to do with that upright man, for I have just had a painful experience in a dream about him."

They departed

Acts 4:19
But Peter and John answered them, "You must decide whether it is right in the sight of God to obey you instead of him,
Acts 5:29
Peter and the apostles answered, "We must obey God rather than men.
1 Corinthians 3:19
For this world's wisdom is foolishness to God. For the Scripture says, "He who catches the wise with their own cunning,"