Surah Saba, ayah 40

34:40

وَيَوۡمَ يَحۡشُرُهُمۡ جَمِيعٗا ثُمَّ يَقُولُ لِلۡمَلَٰٓئِكَةِ أَهَٰٓؤُلَآءِ إِيَّاكُمۡ كَانُواْ يَعۡبُدُونَ ٤٠

Wayawma yahshuruhum jamī'an thumma yaqūlu lil-malā'ikati ahā'ulā'i iyyākum kānū ya'budūn

And [mention] the Day when He will gather them all and then say to the angels, "Did these [people] used to worship you?"