Acts 2:17-18

"It shall be in the last days, saith God, that I will pour out of my Spirit upon all flesh; and your sons and your daughters will prophesy, and your young men will see visions, and your old men will dream dreams;

Romans 15:4

For whatever things were written aforetime, were written for our instruction; that we through the patience and the consolation of the Scriptures might have hope.

2 Corinthians 12:1

It is indeed not expedient for me to boast; I will come to visions and revelations of the Lord.

Revelation 1:19

Write therefore the things which thou sawest, and the things which are, and the things which shall be after these;

Revelation 10:4

And when the seven thunders had spoken, I was about to write; and I heard a voice from heaven saying, Seal up the things which the seven thunders spoke, and write them not.

Treasury of Scripture Knowledge

Summary

In the first year of Belshazzar king of Babylon Daniel had a dream and visions of his head upon his bed: then he wrote the dream, and told the sum of the matters.

Daniel

Bible References

Daniel

Acts 2:17
"It shall be in the last days, saith God, that I will pour out of my Spirit upon all flesh; and your sons and your daughters will prophesy, and your young men will see visions, and your old men will dream dreams;

Visions

2 Corinthians 12:1
It is indeed not expedient for me to boast; I will come to visions and revelations of the Lord.

He wrote

Romans 15:4
For whatever things were written aforetime, were written for our instruction; that we through the patience and the consolation of the Scriptures might have hope.
Revelation 1:19
Write therefore the things which thou sawest, and the things which are, and the things which shall be after these;
Revelation 10:4
And when the seven thunders had spoken, I was about to write; and I heard a voice from heaven saying, Seal up the things which the seven thunders spoke, and write them not.