2 Esdras 7:70-80

70 He answered me and said, "When the Most High made the world and Adam and all who have come from him, he first prepared the judgment and the things that pertain to the judgment. there would probably be left only very few of the innumerable multitude."
71 And now understand from your own words, for you have said that the mind grows with us.
72 For this reason, therefore, those who dwell on earth shall be tormented, because though they had understanding they committed iniquity, and though they received the commandments they did not keep them, and though they obtained the law they dealt unfaithfully with what they received.
73 What, then, will they have to say in the judgment, or how will they answer in the last times?
74 For how long the time is that the Most High has been patient with those who inhabit the world, and not for their sake, but because of the times which he has foreordained!"
75 I answered and said, "If I have found favor in thy sight, O Lord, show this also to thy servant: whether after death, as soon as every one of us yields up his soul, we shall be kept in rest until those times come when thou wilt renew the creation, or whether we shall be tormented at once?"
76 He answered me and said, "I will show you that also, but do not be associated with those who have shown scorn, nor number yourself among those who are tormented.
77 For you have a treasure of works laid up with the Most High; but it will not be shown to you until the last times.
78 Now, concerning death, the teaching is: When the decisive decree has gone forth from the Most High that a man shall die, as the spirit leaves the body to return again to him who gave it, first of all it adores the glory of the Most High.
79 And if it is one of those who have shown scorn and have not kept the way of the Most High, and who have despised his law, and who have hated those who fear God --
80 such spirits shall not enter into habitations, but shall immediately wander about in torments, ever grieving and sad, in seven ways.
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.