Matthew 2:19
But when Herod died, there appeared an angel of the Lord in a dream to Joseph in Egypt,
Matthew 1:20
but after he had planned this, there appeared an angel of the Lord to him in a dream saying, "Joseph, son of David, fear not to take Mary your wife home, for what is begotten in her comes from the holy Spirit.
Matthew 2:12-13
Then, as they had been divinely warned in a dream not to return to Herod, they went back to their own country by a different road.
Matthew 2:22
but on hearing that Archelaus reigned over Judaea in place of his father Herod, he was afraid to go there and, by a divine injunction in a dream, withdrew to the region of Galilee.