Surah Al-Hujurat 49:17
يَمُنُّونَ عَلَيْكَ أَنْ أَسْلَمُوا۟ ۖ قُل لَّا تَمُنُّوا۟ عَلَىَّ إِسْلَـٰمَكُم ۖ بَلِ ٱللَّهُ يَمُنُّ عَلَيْكُمْ أَنْ هَدَىٰكُمْ لِلْإِيمَـٰنِ إِن كُنتُمْ صَـٰدِقِينَ
They consider it a favor to you that they have accepted Islām. Say, "Do not consider your Islām a favor to me. Rather, Allāh has conferred favor upon you that He has guided you to the faith, if you should be truthful."
Translation: Saheeh International
Tafsir
They deem it to be a favour to you that they have submitted without the need for any fighting unlike those others who submitted only after being fought. Say ‘Do not deem your submission to be a favour to me islāmakum ‘your submission’ has dependent accusative status because of the omission of the genitive preposition …
Excerpt from Tafsir al-Jalalayn, commentary on 49:17, via Quran.com. The reader has the full commentary and 9 more tafsirs.