2 Esdras 7:75-85

75 I answered and said, “If I have found favor in your sight, O Lord, show this also to your servant: whether after death, as soon as everyone of us yields up the soul, we shall be kept in rest until those times come when you will 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 include yourself with those who have shown scorn, or number yourself among those who are tormented.
77 For you have a treasure of works stored 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 out from the Most High that a person 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 If it is one of those who have shown scorn and have not kept the way of the Most High, who have despised his law and hated those who fear God—
80 such spirits shall not enter into habitations, but shall immediately wander about in torments, always grieving and sad, in seven ways.
81 The first way, because they have scorned the law of the Most High.
82 The second way, because they cannot now make a good repentance so that they may live.
83 The third way, they shall see the reward laid up for those who have trusted the covenants of the Most High.
84 The fourth way, they shall consider the torment laid up for themselves in the last days.
85 The fifth way, they shall see how the habitations of the others are guarded by angels in profound quiet.
New Revised Standard Version Bible, copyright 1989, 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.