Matthew 2:19
But after Herod died, an angel of the Lord in a dream appeared to Joseph in Egypt,
Matthew 1:20
But just as this thought occurred to him, an angel of the Lord appeared to him in a dream, and said, "Joseph, descendant of David, do not fear to take Mary as your wife, for it is through the influence of the Holy Spirit that she has become an expectant mother.
Matthew 2:12-13
Then, as they had been divinely warned in a dream not to return to Herod, they set out to their own country by another route.
Matthew 2:22
But because he heard that Archelaus was ruling over Judea in the place of his father, Herod, he was afraid to go there; and because he was divinely warned in a dream, he set out for the region of Galilee.