Surah Maryam 19:68-72
By your Lord (O Prophet!) We will surely gather them along with the devils and then set them around Hell on their knees. Then we will certainly begin by dragging out of every group the ones most defiant to the Most Compassionate. And we truly know best who is most deserving of burning in it. There is none of you who will not pass over it. ˹This is˺ a decree your Lord must fulfil. Then we will deliver those who were devout, leaving the wrongdoers there on their knees.