Surah Ghafir

40:66

۞ قُلْ إِنِّى نُهِيتُ أَنْ أَعْبُدَ ٱلَّذِينَ تَدْعُونَ مِن دُونِ ٱللَّهِ لَمَّا جَآءَنِىَ ٱلْبَيِّنَٰتُ مِن رَّبِّى وَأُمِرْتُ أَنْ أُسْلِمَ لِرَبِّ ٱلْعَٰلَمِينَ

Say, [O Muhammad], "Indeed, I have been forbidden to worship those you call upon besides Allah once the clear proofs have come to me from my Lord, and I have been commanded to submit to the Lord of the worlds."

Tafsir 40:66

O Messenger, say: “Allah has forbidden me from worshipping those whom you worship besides Allah, these idols which do not benefit or harm, when the clear proof and evidence have come to me regarding the falsehood of worshipping them. And Allah has ordered me to submit to Him alone through worship, as He is the Lord of all the creation. There is no Lord besides Him.