Revelation 20:1-5

1 I saw an angel coming down out of heaven, having the key of the abyss and a great chain in his hand.  2 He seized the dragon, the old serpent, which is the devil and Satan, who deceives the whole inhabited earth, and bound him for a thousand years,  3 and cast him into the abyss, and shut it, and sealed it over him, that he should deceive the nations no more, until the thousand years were finished. After this, he must be freed for a short time.  4 I saw thrones, and they sat on them, and judgment was given to them. I saw the souls of those who had been beheaded for the testimony of Jesus, and for the word of God, and such as didn't worship the beast nor his image, and didn't receive the mark on their forehead and on their hand. They lived, and reigned with Christ for the thousand years.  5 The rest of the dead didn't live until the thousand years were finished. This is the first resurrection.