Dalil

Quran Yunus 10:28

وَيَوۡمَ نَحۡشُرُهُمۡ جَمِيعٗا ثُمَّ نَقُولُ لِلَّذِينَ أَشۡرَكُواْ مَكَانَكُمۡ أَنتُمۡ وَشُرَكَآؤُكُمۡۚ فَزَيَّلۡنَا بَيۡنَهُمۡۖ وَقَالَ شُرَكَآؤُهُم مَّا كُنتُمۡ إِيَّانَا تَعۡبُدُونَ

Translation

And [mention, O Muḥammad], the Day We will gather them all together - then We will say to those who associated others with Allāh, "[Remain in] your place, you and your 'partners.'" Then We will separate them, and their "partners" will say, "You did not used to worship us,