143وَكَذَٰلِكَ جَعَلْنَـٰكُمْ أُمَّةً وَسَطًا لِّتَكُونُوا۟ شُهَدَآءَ عَلَى ٱلنَّاسِ وَيَكُونَ ٱلرَّسُولُ عَلَيْكُمْ شَهِيدًا ۗ وَمَا جَعَلْنَا ٱلْقِبْلَةَ ٱلَّتِى كُنتَ عَلَيْهَآ إِلَّا لِنَعْلَمَ مَن يَتَّبِعُ ٱلرَّسُولَ مِمَّن يَنقَلِبُ عَلَىٰ عَقِبَيْهِ ۚ وَإِن كَانَتْ لَكَبِيرَةً إِلَّا عَلَى ٱلَّذِينَ هَدَى ٱللَّهُ ۗ وَمَا كَانَ ٱللَّهُ لِيُضِيعَ إِيمَـٰنَكُمْ ۚ إِنَّ ٱللَّهَ بِٱلنَّاسِ لَرَءُوفٌ رَّحِيمٌ
[143] We had appointed the former giblah towards which you used to turn your face merely to test who would follow the Messenger and who would turn back.145 It was indeed a hard test but not for those who had been blessed with Guidance from Allah. Allah will not let go to waste this faith of yours; rest assured that He is full of pity and mercy for mankind.
145The change of the qiblah also served to separate the Believers from the slaves of prejudice and racialism. On the one side, there were the Arabs who were not ready to give up their own Ka'bah and to adopt the Temple at Jerusalem as the qiblah. They were tried first. It was a hard test but the sincere believers passed successfully through this and the worshippers of the idol of nationalism failed. Now when the qiblah was changed from Jerusalem to the Ka'bah, those Jews and Christians who had embraced Islam were put to the test. It was very difficult for them to accept any other qiblah than the one of their forefathers. Thus the worshippers of race, who turned back from Islam were separated from the worshippers of Allah and fatally the worshippers of Allah only remained with the Holy Prophet.