Revelation 20:13
11 Then I saw a large white throne and the one who was seated on it; the earth and the heaven fled from his presence, and no place was found for them. 12 And I saw the dead, the great and the small, standing before the throne. Then books were opened, and another book was opened—the book of life. So the dead were judged by what was written in the books, according to their deeds. 13 The sea gave up the dead that were in it, and Death and Hades gave up the dead that were in them, and each one was judged according to his deeds. 14 Then Death and Hades were thrown into the lake of fire. This is the second death—the lake of fire. 15 If anyone’s name was not found written in the book of life, that person was thrown into the lake of fire.
2 Baruch 30:2
Syriac Apocalypse of Baruch1 And it shall come to pass after these things, when the time of the advent of the Messiah is fulfilled, that He shall return in glory. Then all who have fallen asleep in hope of Him shall rise again. 2 And it shall come to pass at that time that the treasuries will be opened in which is preserved the number of the souls of the righteous, and they shall come forth, and a multitude of souls shall be seen together in one assemblage of one thought, and the first shall rejoice and the last shall not be grieved. 3 For they know that the time has come of which it is said, that it is the consummation of the times. 4 But the souls of the wicked, when they behold all these things, shall then waste away the more. 5 For they shall know that their torment has come and their perdition has arrived.'
Notes and References
"... There seem then to be two possible explanations for the reference to the sea. It may be the place for a special category of the dead: those who have died at sea.29 Whereas those who are buried in the earth are thought of as being in Sheol/Hades, those who die at sea are thought of as being in the subterranean ocean. But there seems to be no other evidence for this distinction. So more probably, and in the light of several Old Testament passages which closely associate the subterranean ocean with Sheol (e.g. 2 Samuel 22:5-6; Job 26:5; Psalm 69:15; Jonah 2), the sea is here simply another synonym for Sheol. Thus Revelation 20:13 preserves the synonymous parallelism exhibited by the tradition as found elsewhere. There remains the term: the chambers of the souls. This term occurs frequently in 4 Ezra, twice in 2 Baruch (21:23; 30:2), once in Pseudo-Philo, and occasionally in the Rabbis, to designate the place where the righteous dead await the resurrection. It may have originated as an interpretation of Isaiah 26:20.31. Whether or not the original text of 4 Ezra 4:41 explicitly located the chambers of the souls in Sheol, there can be little doubt that both 2 Baruch and 4 Ezra imply that the chambers are in Sheol. So the phrase 'the chambers of the souls' is another equivalent to Sheol, the place of the dead, at least with reference to the righteous dead ..."
Bauckham, Richard The Fate of the Dead: Studies on the Jewish and Christian Apocalypses (pp. 280-281) Brill, 1998