Surah Al-Fath 48:2
لِّيَغْفِرَ لَكَ ٱللَّهُ مَا تَقَدَّمَ مِن ذَنۢبِكَ وَمَا تَأَخَّرَ وَيُتِمَّ نِعْمَتَهُۥ عَلَيْكَ وَيَهْدِيَكَ صِرَٰطًا مُّسْتَقِيمًا
That Allāh may forgive for you what preceded of your sin [i.e., errors] and what will follow and complete His favor upon you and guide you to a straight path
Translation: Saheeh International
Tafsir
that God may forgive you by virtue of your struggle what is past of your sin and what is to come of it so that your community might then desire to struggle like you — this verse also constitutes a justification of the concept of the infallibility ‘isma of prophets peace be upon them against sin by way of a definitive …
Excerpt from Tafsir al-Jalalayn, commentary on 48:2, via Quran.com. The reader has the full commentary and 9 more tafsirs.