Revelation 20:11-12 New Revised Standard Version (NRSV)
The Dead Are Judged
11 Then I saw a great white throne and the one who sat on it; the earth and the heaven fled from his presence, and no place was found for them. 12 And I saw the dead, great and small, standing before the throne, and books were opened. Also another book was opened, the book of life. And the dead were judged according to their works, as recorded in the books.