Matthew 2:12-13

12.) And being warned of God in a dream that they should not return to Herod, they departed into their own country another way.

13.) And when they were departed, behold, the angel of the Lord appeareth to Joseph in a dream, saying, Arise, and take the young child and his mother, and flee into Egypt, and be thou there until I bring thee word: for Herod will seek the young child to destroy him.

Click here to see this verse in context