Surah At-Tawbah 9:3
وَأَذَٰنٌ مِّنَ ٱللَّهِ وَرَسُولِهِۦٓ إِلَى ٱلنَّاسِ يَوْمَ ٱلْحَجِّ ٱلْأَكْبَرِ أَنَّ ٱللَّهَ بَرِىٓءٌ مِّنَ ٱلْمُشْرِكِينَ ۙ وَرَسُولُهُۥ ۚ فَإِن تُبْتُمْ فَهُوَ خَيْرٌ لَّكُمْ ۖ وَإِن تَوَلَّيْتُمْ فَٱعْلَمُوٓا۟ أَنَّكُمْ غَيْرُ مُعْجِزِى ٱللَّهِ ۗ وَبَشِّرِ ٱلَّذِينَ كَفَرُوا۟ بِعَذَابٍ أَلِيمٍ
And [it is] an announcement from Allāh and His Messenger to the people on the day of the greater pilgrimage that Allāh is disassociated from the disbelievers, and [so is] His Messenger. So if you repent, that is best for you; but if you turn away - then know that you will not cause failure to Allāh. And give tidings to those who disbelieve of a painful punishment.
Translation: Saheeh International
Tafsir
A proclamation a notification from God and His Messenger to mankind on the day of the Greater Pilgrimage the Day of Sacrifice yawm al-nahr that God is free from obligation to the idolaters and their pacts and so is His Messenger also free from obligation in that same year year 9 of the Hijra the Prophet s sent forth …
Excerpt from Tafsir al-Jalalayn, commentary on 9:3, via Quran.com. The reader has the full commentary and 9 more tafsirs.