Surah Al-Baqarah 2:148
وَلِكُلٍّ وِجْهَةٌ هُوَ مُوَلِّيهَا ۖ فَٱسْتَبِقُوا۟ ٱلْخَيْرَٰتِ ۚ أَيْنَ مَا تَكُونُوا۟ يَأْتِ بِكُمُ ٱللَّهُ جَمِيعًا ۚ إِنَّ ٱللَّهَ عَلَىٰ كُلِّ شَىْءٍ قَدِيرٌ
For each [religious following] is a [prayer] direction toward which it faces. So race to [all that is] good. Wherever you may be, Allāh will bring you forth [for judgement] all together. Indeed, Allāh is over all things competent.
Translation: Saheeh International
Tafsir
Every person of every community has his direction wijha his qibla to which he turns muwallīhā ‘he turns to it’ is also read as muwallāhā ‘he is made to turn to it’ in his prayers so vie with one another in good works strive with acts of obedience and acceptance of these. …
Excerpt from Tafsir al-Jalalayn, commentary on 2:148, via Quran.com. The reader has the full commentary and 9 more tafsirs.