Matthew 2:19

Then when Herod was dead, an angel from the Lord appeared in a [supernatural] dream to Joseph [while he was still] in Egypt, saying,

Matthew 1:20

But while he was thinking about the matter, [suddenly] an angel from the Lord appeared to him in a dream [i.e., a supernatural revelation given during sleep], saying, "Joseph, you descendant of David, do not be afraid to take Mary to be your wife, for the baby she is carrying is by [the power of] the Holy Spirit.

Matthew 2:12-13

Then they were warned by God in a [supernatural] dream not to return to Herod, so they left and returned to their own country by a different route.

Matthew 2:22

But when he heard that Archelaus was then the king of Judea, in place of his father Herod, he was afraid to go back. Then, being warned by God in a [supernatural] dream, he went on up to the region called 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
Now when they had gone an angel from the Lord appeared to Joseph in a [supernatural] dream, saying, "Get up and take the young child and His mother and hurry to Egypt. Stay there for as long as I tell you to, for Herod will be looking for the young child in order to kill Him."
Matthew 1:20
But while he was thinking about the matter, [suddenly] an angel from the Lord appeared to him in a dream [i.e., a supernatural revelation given during sleep], saying, "Joseph, you descendant of David, do not be afraid to take Mary to be your wife, for the baby she is carrying is by [the power of] the Holy Spirit.