Surah Al-Anfal 8:38
قُل لِّلَّذِينَ كَفَرُوٓا۟ إِن يَنتَهُوا۟ يُغْفَرْ لَهُم مَّا قَدْ سَلَفَ وَإِن يَعُودُوا۟ فَقَدْ مَضَتْ سُنَّتُ ٱلْأَوَّلِينَ
Say to those who have disbelieved [that] if they cease, what has previously occurred will be forgiven for them. But if they return [to hostility] - then the precedent of the former [rebellious] peoples has already taken place.
Translation: Saheeh International
Tafsir
Say to the disbelievers such as Abū Sufyān and his companions that if they desist from unbelief and from waging war against the Prophet s that which is past of their deeds will be forgiven them; …
Excerpt from Tafsir al-Jalalayn, commentary on 8:38, via Quran.com. The reader has the full commentary and 9 more tafsirs.