Surah Al-A'raaf

7:6

فَلَنَسْـَٔلَنَّ ٱلَّذِينَ أُرْسِلَ إِلَيْهِمْ وَلَنَسْـَٔلَنَّ ٱلْمُرْسَلِينَ

Then We will surely question those to whom [a message] was sent, and We will surely question the messengers.

Tafsir 7:6

Allah will certainly question the communities He sent messengers to on the Day of Judgement: about how they received the messengers. Also, He will certainly question the messengers about whether they delivered what they were instructed to deliver, and how their communities responded to it.