Revelation 20:2-7 NASB
And he laid hold of the dragon, the serpent of old, who is the devil and Satan, and bound him for a thousand years; and he threw him into the abyss, and shut it and sealed it over him, so that he would not deceive the nations any longer, until the thousand years were completed; after these things he must be released for a short time.
Then I saw thrones, and they sat on them, and judgment was given to them. And I saw the souls of those who had been beheaded because of their testimony of Jesus and because of the word of God, and those who had not worshiped the beast or his image, and had not received the mark on their forehead and on their hand; and they came to life and reigned with Christ for a thousand years. The rest of the dead did not come to life until the thousand years were completed. This is the first resurrection. Blessed and holy is the one who has a part in the first resurrection; over these the second death has no power, but they will be priests of God and of Christ and will reign with Him for a thousand years.
When the thousand years are completed, Satan will be released from his prison
NASB: New American Standard Bible