Acts 2:17-18

'And it shall be in the last days', saith God, 'I will pour out of My Spirit upon all flesh; and your sons and your daughters shall prophesy, and your young men shall see visions, and your old men shall dream dreams;

Romans 15:4

For whatsoever things were written in former times were written for our instruction, that we through patience and through consolation of the Scriptures may have hope.

2 Corinthians 12:1

It is needful for me to glory, though, indeed, not profitable; but I will come to visions and revelations of the Lord.

Revelation 1:19

Write, therefore, the things which you saw, and the things which are, and the things which are about to take place after these;

Revelation 10:4

And, when the seven thunders spake, I was about to write; and I heard a voice out of Heaven, saying, "Seal up the things which the seven thunders spake, 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 be in the last days', saith God, 'I will pour out of My Spirit upon all flesh; and your sons and your daughters shall prophesy, and your young men shall see visions, and your old men shall dream dreams;

Visions

2 Corinthians 12:1
It is needful for me to glory, though, indeed, not profitable; but I will come to visions and revelations of the Lord.

He wrote

Romans 15:4
For whatsoever things were written in former times were written for our instruction, that we through patience and through consolation of the Scriptures may have hope.
Revelation 1:19
Write, therefore, the things which you saw, and the things which are, and the things which are about to take place after these;
Revelation 10:4
And, when the seven thunders spake, I was about to write; and I heard a voice out of Heaven, saying, "Seal up the things which the seven thunders spake, and write them not."