Acts 2:17-18

"In the last days, God says, it shall come to pass that I will pour out my Spirit upon all mankind; "Your sons and your daughters shall prophesy, your young men shall see visions, your old men shall dream dreams;

Romans 15:4

For everything that was written of old has been written for our instruction, that through patience, and through the comfort of the Scriptures, we might have hope.

2 Corinthians 12:1

I am forced to boast, though it is unprofitable, but I will go on to visions and revelations of the Lord.

Revelation 1:19

So write the things which you saw, and the things which are, and the things that will come to pass hereafter.

Revelation 10:4

When the seven thunders uttered their voices, I was about to write; but I heard a voice from the sky, saying, "Seal up the words which the seven thunders 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
"In the last days, God says, it shall come to pass that I will pour out my Spirit upon all mankind; "Your sons and your daughters shall prophesy, your young men shall see visions, your old men shall dream dreams;

Visions

2 Corinthians 12:1
I am forced to boast, though it is unprofitable, but I will go on to visions and revelations of the Lord.

He wrote

Romans 15:4
For everything that was written of old has been written for our instruction, that through patience, and through the comfort of the Scriptures, we might have hope.
Revelation 1:19
So write the things which you saw, and the things which are, and the things that will come to pass hereafter.
Revelation 10:4
When the seven thunders uttered their voices, I was about to write; but I heard a voice from the sky, saying, "Seal up the words which the seven thunders uttered, and write them not."