Matthew 2:19
But when Herod was dead, behold an angel of the Lord appeareth in a dream to Joseph in Egypt,
Matthew 1:20
But while he was thinking on these things, behold an angel of the Lord appeared to him in a dream, saying, Joseph, thou son of David, fear not to take to thee Mary thy wife; for that which is begotten in her, is of the Holy Ghost.
Matthew 2:12-13
And being warned of God in a dream, not to return to Herod, they went back into their own country another way.
Matthew 2:22
and came into the land of Israel, But having heard, Archelaus reigneth over Judea, in the room of his father Herod, he was afraid to go thither, and being warned of God in a dream, he turned aside into the region of Galilee.