Sura Al-An'aam

6:107

وَلَوْ شَآءَ ٱللَّهُ مَآ أَشْرَكُوا۟ ۗ وَمَا جَعَلْنَٰكَ عَلَيْهِمْ حَفِيظًۭا ۖ وَمَآ أَنتَ عَلَيْهِم بِوَكِيلٍۢ

Om Gud hade velat skulle de inte ha satt medgudar vid Hans sida; Vi har inte utsett dig att vaka över dem och du är inte deras beskyddare.

Tafsir 6:107

If Allah willed for them not to associate any one as partner with Him, they would not have done so. I have not made you, O Messenger, a guardian to record their actions, nor are you in charge of them. You are only a messenger and your duty is only to convey the message.