4-Surah An-Nisa ( The Women ) 41
So how [will it be] when We bring from every nation a witness and we bring you, [O Muhammad] against these [people] as a witness?
فَكَيْفَ إِذَا جِئْنَا مِن كُلِّ أُمَّةٍ بِشَهِيدٍ وَجِئْنَا بِكَ عَلَىٰ هَٰؤُلَاءِ شَهِيدًا
Quran's Tafhim ( explanation)
*64). The Prophet of each age will stand as a witness before God against his people; he will testify that he conveyed to them the true way of life, and showed them the right outlook and the fundamentals of moral conduct revealed to him by God. The testimony of the Prophet Muhammad (peace be on him) will be to the same effect, and the Qur'an indicates that he will stand as a witness to the period beginning with his advent as a Prophet right through to the Day of Judgement. (See Towards Understanding the Qur'an, vol. I, Surah 3, n. 69.)