Surah An-Nisa 4:110
وَمَن يَعْمَلْ سُوٓءًا أَوْ يَظْلِمْ نَفْسَهُۥ ثُمَّ يَسْتَغْفِرِ ٱللَّهَ يَجِدِ ٱللَّهَ غَفُورًا رَّحِيمًا
And whoever does a wrong or wrongs himself but then seeks forgiveness of Allāh will find Allāh Forgiving and Merciful.
Translation: Saheeh International
Tafsir
Whoever does evil commits a sin by which another is harmed as when Tu‘ma falsely accused the Jew or wrongs himself committing a sin the consequences of which are limited to him and then prays for God’s forgiveness for it that is to say and then he repents he shall find God is Forgiving Merciful to him.
Excerpt from Tafsir al-Jalalayn, commentary on 4:110, via Quran.com. The reader has the full commentary and 9 more tafsirs.