Al-Baqarah 2:150
وَمِنْ حَيْثُ خَرَجْتَ فَوَلِّ وَجْهَكَ شَطْرَ ٱلْمَسْجِدِ ٱلْحَرَامِ ۚ وَحَيْثُ مَا كُنتُمْ فَوَلُّوا۟ وُجُوهَكُمْ شَطْرَهُۥ لِئَلَّا يَكُونَ لِلنَّاسِ عَلَيْكُمْ حُجَّةٌ إِلَّا ٱلَّذِينَ ظَلَمُوا۟ مِنْهُمْ فَلَا تَخْشَوْهُمْ وَٱخْشَوْنِى وَلِأُتِمَّ نِعْمَتِى عَلَيْكُمْ وَلَعَلَّكُمْ تَهْتَدُونَ
Wamin haythu kharajta fawalliwajhaka shatra almasjidi alharami wahaythuma kuntum fawalloo wujoohakum shatrahu li-allayakoona linnasi AAalaykum hujjatun illaallatheena thalamoo minhum falatakhshawhum wakhshawnee wali-otimma niAAmatee AAalaykumwalaAAallakum tahtadoon
And from wherever you go out [for prayer], turn your face toward al-Masjid al-Ḥarām. And wherever you [believers] may be, turn your faces toward it in order that the people will not have any argument against you, except for those of them who commit wrong; so fear them not but fear Me. And [it is] so I may complete My favor upon you and that you may be guided,
And from wherever you set out, turn your face in the direction of the Sacred Mosque (Al-Masjid-ul-Harām), and (O Muslims), wherever you are, turn your faces in its direction, so that people should have no argument against you, except for those among them who are unjust,- do not fear them, but fear Me-, and so that I should perfect My blessings upon you, and that you may take the right path.