It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) (and he mentioned the complete hadith), and in it is that Allah, the Mighty and Majestic, will say to Adam (peace be upon him): "O Adam, rise and separate the party of the Fire."
Imam Ishaq bin Rahwayh (may Allah have mercy on him) also narrated it from Abd al-Razzaq (may Allah have mercy on him) with the same chain, like it.
There is a supporting narration for this hadith in the Sahih from the hadith of Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him).