Surah [2] Al-Baqara : 143

وَكَذٰلِكَ جَعَلۡنٰكُمۡ اُمَّةً وَّسَطًا لِّتَکُوۡنُوۡا شُهَدَآءَ عَلَى النَّاسِ وَيَكُوۡنَ الرَّسُوۡلُ عَلَيۡكُمۡ شَهِيۡدًا ؕ وَمَا جَعَلۡنَا الۡقِبۡلَةَ الَّتِىۡ كُنۡتَ عَلَيۡهَآ اِلَّا لِنَعۡلَمَ مَنۡ يَّتَّبِعُ الرَّسُوۡلَ مِمَّنۡ يَّنۡقَلِبُ عَلٰى عَقِبَيۡهِ ‌ؕ وَاِنۡ كَانَتۡ لَكَبِيۡرَةً اِلَّا عَلَى الَّذِيۡنَ هَدَى اللّٰهُ ؕ وَمَا كَانَ اللّٰهُ لِيُضِيْعَ اِيۡمَانَكُمۡ‌ ؕ اِنَّ اللّٰهَ بِالنَّاسِ لَرَءُوۡفٌ رَّحِيۡمٌ(البقرة :143)

وَكَذَٰلِكَ
And thus
جَعَلْنَٰكُمْ
We made you
أُمَّةً
a community
وَسَطًا
(of the) middle way
لِّتَكُونُوا۟
so that you will be
شُهَدَآءَ
witnesses
عَلَى
over
ٱلنَّاسِ
the mankind
وَيَكُونَ
and will be
ٱلرَّسُولُ
the Messenger
عَلَيْكُمْ
on you
شَهِيدًاۗ
a witness
وَمَا
And not
جَعَلْنَا
We made
ٱلْقِبْلَةَ
the direction of prayer
ٱلَّتِى
which
كُنتَ
you were used to
عَلَيْهَآ
[on it]
إِلَّا
except
لِنَعْلَمَ
that We make evident
مَن
(he) who
يَتَّبِعُ
follows
ٱلرَّسُولَ
the Messenger
مِمَّن
from (he) who
يَنقَلِبُ
turns back
عَلَىٰ
on
عَقِبَيْهِۚ
his heels
وَإِن
And indeed
كَانَتْ
it was
لَكَبِيرَةً
certainly a great (test)
إِلَّا
except
عَلَى
for
ٱلَّذِينَ
those whom
هَدَى
guided
ٱللَّهُۗ
(by) Allah
وَمَا
And not
كَانَ
will
ٱللَّهُ
Allah
لِيُضِيعَ
let go waste
إِيمَٰنَكُمْۚ
your faith
إِنَّ
Indeed
ٱللَّهَ
Allah
بِٱلنَّاسِ
(is) to [the] mankind
لَرَءُوفٌ
Full of Kindness
رَّحِيمٌ
Most Merciful

Wakathalika ja'alnakum ommatan wasatan litakoonoo shuhadaa 'ala alnnasi wayakoona alrrasoolu 'alaykum shaheedan wama ja'alna alqiblata allatee kunta 'alayha illa lina'lama man yattabi'u alrrasoola mimman yanqalibu 'ala 'aqibayhi wain kanat lakabeeratan illa 'ala allatheena hada Allahu wama kana Allahu liyudee'a eemanakum inna Allaha bialnnasi laraoofun raheemun

Sahih International:

And thus we have made you a just community that you will be witnesses over the people and the Messenger will be a witness over you. And We did not make the qiblah which you used to face except that We might make evident who would follow the Messenger from who would turn back on his heels. And indeed, it is difficult except for those whom Allah has guided. And never would Allah have caused you to lose your faith. Indeed Allah is, to the people, Kind and Merciful.

Tafsir (More Translations)
Surah [22] Al-Hajj : 78

وَجَاهِدُوۡا فِى اللّٰهِ حَقَّ جِهَادِهٖ‌ؕ هُوَ اجۡتَبٰٮكُمۡ وَمَا جَعَلَ عَلَيۡكُمۡ فِى الدِّيۡنِ مِنۡ حَرَجٍ‌ؕ مِلَّةَ اَبِيۡكُمۡ اِبۡرٰهِيۡمَ‌ؕ هُوَ سَمّٰٮكُمُ الۡمُسۡلِمِيۡنَ ۙ مِنۡ قَبۡلُ وَفِىۡ هٰذَا لِيَكُوۡنَ الرَّسُوۡلُ شَهِيۡدًا عَلَيۡكُمۡ وَتَكُوۡنُوۡا شُهَدَآءَ عَلَى النَّاسِ‌ ‌ۖۚ فَاَقِيۡمُوا الصَّلٰوةَ وَاٰتُوا الزَّكٰوةَ وَاعۡتَصِمُوۡا بِاللّٰهِؕ هُوَ مَوۡلٰٮكُمۡ‌ۚ فَنِعۡمَ الۡمَوۡلٰى وَنِعۡمَ النَّصِيۡرُ(الحج :78)

وَجَٰهِدُوا۟
And strive
فِى
for
ٱللَّهِ
Allah
حَقَّ
(with the) striving due (to) Him
جِهَادِهِۦۚ
(with the) striving due (to) Him
هُوَ
He
ٱجْتَبَىٰكُمْ
(has) chosen you
وَمَا
and not
جَعَلَ
placed
عَلَيْكُمْ
upon you
فِى
in
ٱلدِّينِ
the religion
مِنْ
any
حَرَجٍۚ
difficulty
مِّلَّةَ
(The) religion
أَبِيكُمْ
(of) your father
إِبْرَٰهِيمَۚ
Ibrahim
هُوَ
He
سَمَّىٰكُمُ
named you
ٱلْمُسْلِمِينَ
Muslims
مِن
before
قَبْلُ
before
وَفِى
and in
هَٰذَا
this
لِيَكُونَ
that may be
ٱلرَّسُولُ
the Messenger
شَهِيدًا
a witness
عَلَيْكُمْ
over you
وَتَكُونُوا۟
and you may be
شُهَدَآءَ
witnesses
عَلَى
on
ٱلنَّاسِۚ
the mankind
فَأَقِيمُوا۟
So establish
ٱلصَّلَوٰةَ
the prayer
وَءَاتُوا۟
and give
ٱلزَّكَوٰةَ
zakah
وَٱعْتَصِمُوا۟
and hold fast
بِٱللَّهِ
to Allah
هُوَ
He
مَوْلَىٰكُمْۖ
(is) your Protector
فَنِعْمَ
so an Excellent
ٱلْمَوْلَىٰ
[the] Protector
وَنِعْمَ
and an Excellent
ٱلنَّصِيرُ
[the] Helper

Wajahidoo fee Allahi haqqa jihadihi huwa ijtabakum wama ja'ala 'alaykum fee alddeeni min harajin millata abeekum ibraheema huwa sammakumu almuslimeena min qablu wafee hatha liyakoona alrrasoolu shaheedan 'alaykum watakoonoo shuhadaa 'ala alnnasi faaqeemoo alssalata waatoo alzzakata wai'tasimoo biAllahi huwa mawlakum fani'ma almawla wani'ma alnnaseeru

Sahih International:

And strive for Allah with the striving due to Him. He has chosen you and has not placed upon you in the religion any difficulty. [It is] the religion of your father, Abraham. Allah named you "Muslims" before [in former scriptures] and in this [revelation] that the Messenger may be a witness over you and you may be witnesses over the people. So establish prayer and give zakah and hold fast to Allah . He is your protector; and excellent is the protector, and excellent is the helper.

Tafsir (More Translations)

Complete Indexing of Quran Topics

We have indexed and found 2 verses about or related to (including the word(s)) "Witness, over mankind".

For your information, the verses as described above: