Surah Al-Baqarah 2:115
وَلِلَّهِ ٱلْمَشْرِقُ وَٱلْمَغْرِبُ ۚ فَأَيْنَمَا تُوَلُّوا۟ فَثَمَّ وَجْهُ ٱللَّهِ ۚ إِنَّ ٱللَّهَ وَٰسِعٌ عَلِيمٌ
And to Allāh belongs the east and the west. So wherever you [might] turn, there is the Face of Allāh. Indeed, Allāh is all-Encompassing and Knowing.
Translation: Saheeh International
Tafsir
The following was revealed either when the Jews criticised the change of the direction of prayer qibla or concerning the supererogatory prayers on animal-back during journeys which one may pray in any direction To God belong the East and the West that is the entire earth because these two directions represent both …
Excerpt from Tafsir al-Jalalayn, commentary on 2:115, via Quran.com. The reader has the full commentary and 9 more tafsirs.