Revelation 20:2-6

20:2 He seized the dragon – the ancient serpent, who is the devil and Satan – and tied him up for a thousand years. 20:3 The angel then threw him into the abyss and locked and sealed it so that he could not deceive the nations until the one thousand years were finished. (After these things he must be released for a brief period of time.)

20:4 Then I saw thrones and seated on them were those who had been given authority to judge. I also saw the souls of those who had been beheaded because of the testimony about Jesus and because of the word of God. These had not worshiped the beast or his image and had refused to receive his mark on their forehead or hand. They came to life and reigned with Christ for a thousand years. 20:5 (The rest of the dead did not come to life until the thousand years were finished.) This is the first resurrection. 20:6 Blessed and holy is the one who takes part in the first resurrection. The second death has no power over them, but they will be priests of God and of Christ, and they will reign with him for a thousand years.