Matthew 2:19

But after the death of Herod, an angel of the Lord appeareth in a dream to Joseph in Egypt,

Matthew 1:20

but while he was revolving this in his mind, an angel of the Lord appeared to him in a dream, saying, Joseph, the off-spring of David, don't make any difficulty of taking Mary for thy wife: for her pregnancy is from the holy Spirit.

Matthew 2:12-13

but being divinely warn'd in a dream, not to go back to Herod, they returned into their own country another way.

Matthew 2:22

but when he heard that Archelaus reigned in Judea, in the room of his father Herod, he was apprehensive of going thither, till having had a divine warning in a dream, he retired into the district 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
When they were gone, an angel of the Lord appeareth to Joseph in a dream, saying, Arise, take the infant and his mother, flee into Egypt, and don't stir thence till I order you, for Herod will endeavour to have the child destroy'd. Joseph therefore arose,
Matthew 1:20
but while he was revolving this in his mind, an angel of the Lord appeared to him in a dream, saying, Joseph, the off-spring of David, don't make any difficulty of taking Mary for thy wife: for her pregnancy is from the holy Spirit.