2 Esdras 7:77-87

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.
86 The sixth way, they shall see how some of them will cross over[s] into torments.
87 The seventh way, which is worse[t] than all the ways that have been mentioned, because they shall utterly waste away in confusion and be consumed with shame,[u] and shall wither with fear at seeing the glory of the Most High in whose presence they sinned while they were alive, and in whose presence they are to be judged in the last times.
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.