Matthew 2:19

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

Matthew 1:20

But while he thought on these things, lo! an angel of the Lord appeared to him in a dream, saying, Joseph, son of David, fear not to take to thee Mary thy wife; for that which is conceived in her is by the Holy Spirit.

Matthew 2:12-13

And having been warned by God in a dream not to return to Herod, they went back to their own country another way.

Matthew 2:22

But when he heard that Archelaus was reigning in Judaea in the place of his father Herod, he was afraid to go thither; and being warned by God in a dream, he withdrew into the parts of Galilee,

Treasury of Scripture Knowledge

Summary

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

Bible References

An

Matthew 2:13
And when they had gone, lo! an angel of the Lord appeareth to Joseph in a dream, saying, Arise, and take the child and his mother, and flee into Egypt, and remain there until I speak to thee; for Herod will seek the child, to destroy him.
Matthew 1:20
But while he thought on these things, lo! an angel of the Lord appeared to him in a dream, saying, Joseph, son of David, fear not to take to thee Mary thy wife; for that which is conceived in her is by the Holy Spirit.