2 Esdras 14:35-45

35 For after death the judgment will come, when we shall live again; and then the names of the righteous will become manifest, and the deeds of the ungodly will be disclosed.
36 But let no one come to me now, and let no one seek me for forty days."
37 So I took the five men, as he commanded me, and we proceeded to the field, and remained there.
38 And on the next day, behold, a voice called me, saying, "Ezra, open your mouth and drink what I give you to drink."
39 Then I opened my mouth, and behold, a full cup was offered to me; it was full of something like water, but its color was like fire.
40 And I took it and drank; and when I had drunk it, my heart poured forth understanding, and wisdom increased in my breast, for my spirit retained its memory;
41 and my mouth was opened, and was no longer closed.
42 And the Most High gave understanding to the five men, and by turns they wrote what was dictated, in characters which they did not know. They sat forty days, and wrote during the daytime, and ate their bread at night.
43 As for me, I spoke in the daytime and was not silent at night.
44 So during the forty days ninety-four books were written.
45 And when the forty days were ended, the Most High spoke to me, saying, "Make public the twenty-four books that you wrote first and let the worthy and the unworthy read them;
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.