But while he was thinking this over, an angel of the Lord appeared to him in a dream and said, "Joseph, son of David, do not be afraid to take Mary as your wife, for what has been conceived in her is of the Holy Spirit.

She will bear a son and you shall call his name Jesus, for he will save his people from their sins."

Mateus 1:20,21

While he was sitting on the judge's seat, his wife sent to him a message, "Do not have anything to do with that righteous man. For I have suffered much to-day in a dream because of him."

Mateus 27:19

14 But Peter, standing up with the eleven, raised his voice and declared to them: "Fellow Jews, and all of you who live in Jerusalem, understand this and listen to my words.

15 These are not drunk, as you assume, for it is only nine o'clock in the morning;

16 but this is what was spoken through the prophet Joel:

17 'It will be in the last days, says God, that I will pour out my Spirit upon all mankind, and your sons and your daughters will prophesy, and your young men will see visions, and your old men will dream dreams.

Atos 2:14-17