Surah Al-Baqarah, ayah 143

2:143

وَكَذَٰلِكَ جَعَلۡنَٰكُمۡ أُمَّةٗ وَسَطٗا لِّتَكُونُواْ شُهَدَآءَ عَلَى ٱلنَّاسِ وَيَكُونَ ٱلرَّسُولُ عَلَيۡكُمۡ شَهِيدٗاۗ وَمَا جَعَلۡنَا ٱلۡقِبۡلَةَ ٱلَّتِي كُنتَ عَلَيۡهَآ إِلَّا لِنَعۡلَمَ مَن يَتَّبِعُ ٱلرَّسُولَ مِمَّن يَنقَلِبُ عَلَىٰ عَقِبَيۡهِۚ وَإِن كَانَتۡ لَكَبِيرَةً إِلَّا عَلَى ٱلَّذِينَ هَدَى ٱللَّهُۗ وَمَا كَانَ ٱللَّهُ لِيُضِيعَ إِيمَٰنَكُمۡۚ إِنَّ ٱللَّهَ بِٱلنَّاسِ لَرَءُوفٞ رَّحِيمٞ ١٤٣

Wakadhālika ja'alnākum ummatan wasatal litakūnū shuhadā'a 'alan-nāsi wayakūnar-rasūlu 'alaykum shahīdan wamā ja'alnal-qiblatal-latī kunta 'alayhā illā lina'lama man yattabi'ur-rasūla mimman yanqalibu 'alā 'aqibayhi wa in kānat lakabīratan illā 'alal-ladhīna hadallāhu wamā kānallāhu liyudī'a īmānakum innallāha bin-nāsi lara'ūfur rahīm

And thus We have made you a median [i.e., 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.52 And indeed, it is difficult except for those whom Allāh has guided. And never would Allāh have caused you to lose your faith [i.e., your previous prayers]. Indeed Allāh is, to the people, Kind and Merciful.

Footnotes

52 i.e., refuse.