Surah Al-Baqarah 2:145
وَلَئِنْ أَتَيْتَ ٱلَّذِينَ أُوتُوا۟ ٱلْكِتَـٰبَ بِكُلِّ ءَايَةٍ مَّا تَبِعُوا۟ قِبْلَتَكَ ۚ وَمَآ أَنتَ بِتَابِعٍ قِبْلَتَهُمْ ۚ وَمَا بَعْضُهُم بِتَابِعٍ قِبْلَةَ بَعْضٍ ۚ وَلَئِنِ ٱتَّبَعْتَ أَهْوَآءَهُم مِّنۢ بَعْدِ مَا جَآءَكَ مِنَ ٱلْعِلْمِ ۙ إِنَّكَ إِذًا لَّمِنَ ٱلظَّـٰلِمِينَ
And if you brought to those who were given the Scripture every sign, they would not follow your qiblah. Nor will you be a follower of their qiblah. Nor would they be followers of one another's qiblah. So if you were to follow their desires after what has come to you of knowledge, indeed, you would then be among the wrongdoers.
Translation: Saheeh International
Tafsir
Yet if wa-la-in the lām is for oaths you should bring to those who have been given the Scripture every sign about your truthfulness in the matter of the direction of prayer they will not follow your direction out of obduracy and you are not a follower of their direction this is a categorical negation of his the …
Excerpt from Tafsir al-Jalalayn, commentary on 2:145, via Quran.com. The reader has the full commentary and 9 more tafsirs.