Acts 2:17-18

And it shall come to pass in the last days, saith God, I will pour out of my Spirit upon all flesh: and your sons and your daughters shall prophecy, and your young men shall see visions, and your old men shall dream dreams:

Romans 15:4

For whatsoever things were written aforetime, were written for our instruction, that we, through patience and consolation of the scriptures, may have hope.

2 Corinthians 12:1

Surely it is not expedient for me to boast: yet I will come to visions and revelations of the Lord.

Revelation 1:19

Write the things which thou hast seen, and which are, and which shall be hereafter:

Revelation 10:4

And when the seven thunders had uttered their voices, I was about to write: and I heard a voice from heaven, saying, Seal up the things which the seven thunders have uttered, 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
And it shall come to pass in the last days, saith God, I will pour out of my Spirit upon all flesh: and your sons and your daughters shall prophecy, and your young men shall see visions, and your old men shall dream dreams:

Visions

2 Corinthians 12:1
Surely it is not expedient for me to boast: yet I will come to visions and revelations of the Lord.

He wrote

Romans 15:4
For whatsoever things were written aforetime, were written for our instruction, that we, through patience and consolation of the scriptures, may have hope.
Revelation 1:19
Write the things which thou hast seen, and which are, and which shall be hereafter:
Revelation 10:4
And when the seven thunders had uttered their voices, I was about to write: and I heard a voice from heaven, saying, Seal up the things which the seven thunders have uttered, and write them not.