Matthew 1:20

And, while thinking of these things, behold, an angel of the Lord appeared to him in a dream, saying, "Joseph, son of David, fear not to take to yourself Mary your wife; for that which was begotten in her is of the Holy Spirit.

Matthew 27:19

And, while he was sitting on the judgment seat, his wife sent to him, saying, "Have nothing to do with that Righteous One; for I suffered many things today in a dream because of Him."

Matthew 2:12-13

And, having been divinely warned in a dream not to return to Herod, they departed by another way into their own country.

Treasury of Scripture Knowledge

Summary

But God came to Abimelech in a dream by night, and said to him, Behold, thou art but a dead man, for the woman which thou hast taken; for she is a man's wife.

Bible References

A dream

Matthew 1:20
And, while thinking of these things, behold, an angel of the Lord appeared to him in a dream, saying, "Joseph, son of David, fear not to take to yourself Mary your wife; for that which was begotten in her is of the Holy Spirit.
Matthew 2:12
And, having been divinely warned in a dream not to return to Herod, they departed by another way into their own country.
Matthew 27:19
And, while he was sitting on the judgment seat, his wife sent to him, saying, "Have nothing to do with that Righteous One; for I suffered many things today in a dream because of Him."