فَلَنَسْـَٔلَنَّ الَّذِيْنَ اُرْسِلَ اِلَيْهِمْ وَلَنَسْـَٔلَنَّ الْمُرْسَلِيْنَۙ ( الأعراف: ٦ )
Falanas 'alannal lazeena ursila ilaihim wa lanas 'alannal mursaleen (al-ʾAʿrāf 7:6)
Then We will surely question those to whom [a message] was sent, and We will surely question the messengers. (Al-A'raf  : 6)
1 Mufti Taqi Usmani
So, We shall ask those to whom the messengers were sent, and We shall ask the messengers (how they conveyed the message).