Surah Al-Baqara

2:149

وَمِنْ حَيْثُ خَرَجْتَ فَوَلِّ وَجْهَكَ شَطْرَ ٱلْمَسْجِدِ ٱلْحَرَامِ ۖ وَإِنَّهُۥ لَلْحَقُّ مِن رَّبِّكَ ۗ وَمَا ٱللَّهُ بِغَٰفِلٍ عَمَّا تَعْمَلُونَ

So from wherever you go out [for prayer, O Muhammad] turn your face toward al- Masjid al-Haram, and indeed, it is the truth from your Lord. And Allah is not unaware of what you do.

Tafsir 2:149

Wherever you come from and wherever you are, you, O Prophet, and your followers are to face towards the Sacred Mosque (the Kaaba in Makkah) when you want to pray. It is the truth that has been revealed to you from your Lord. Allah is not unaware of what you do. Rather, He is aware of all that you do, and you will be rewarded accordingly.