Surah Al-Ahqaf 46:31
يَـٰقَوْمَنَآ أَجِيبُوا۟ دَاعِىَ ٱللَّهِ وَءَامِنُوا۟ بِهِۦ يَغْفِرْ لَكُم مِّن ذُنُوبِكُمْ وَيُجِرْكُم مِّنْ عَذَابٍ أَلِيمٍ
O our people, respond to the Caller [i.e., Messenger] of Allāh and believe in him; He [i.e., Allāh] will forgive for you your sins and protect you from a painful punishment.
Translation: Saheeh International
Tafsir
O our people! Respond to God’s summoner Muhammad (s) by embracing faith and believe in him and He God will forgive you some of your sins because some of these sins are wrongs done to others and which therefore can only be forgiven after those wronged are reconciled — and shelter you from a painful chastisement.
Excerpt from Tafsir al-Jalalayn, commentary on 46:31, via Quran.com. The reader has the full commentary and 9 more tafsirs.