Revelation 20:2

20:2 He seized the dragon – the ancient serpent, who is the devil and Satan – and tied him up for a thousand years.

Revelation 20:5

20:5 (The rest of the dead did not come to life until the thousand years were finished.) This is the first resurrection.