وَلَوۡلَا فَضۡلُ ٱللَّهِ عَلَيۡكَ وَرَحۡمَتُهُۥ لَهَمَّت طَّآئِفَةٞ مِّنۡهُمۡ أَن يُضِلُّوكَ وَمَا يُضِلُّونَ إِلَّآ أَنفُسَهُمۡۖ وَمَا يَضُرُّونَكَ مِن شَيۡءٖۚ وَأَنزَلَ ٱللَّهُ عَلَيۡكَ ٱلۡكِتَٰبَ وَٱلۡحِكۡمَةَ وَعَلَّمَكَ مَا لَمۡ تَكُن تَعۡلَمُۚ وَكَانَ فَضۡلُ ٱللَّهِ عَلَيۡكَ عَظِيمٗا ١١٣
Wa lawlā faḍlullāhi ʿalayka wa raḥmatuhū lahammat ṭāʾifatum minhum ay yuḍillūka wa mā yuḍillūna illā anfusahum, wa mā yaḍurrūnaka min shayʾ, wa anzalallāhu ʿalaykal-kitāba wal-ḥikmata wa ʿallamaka mā lam takun taʿlam, wa kāna faḍlullāhi ʿalayka ʿaẓīmā.
And if it was not for the favor of Allāh upon you, [O Muḥammad], and His mercy, a group of them would have determined to mislead you. But they do not mislead except themselves, and they will not harm you at all. And Allāh has revealed to you the Book and wisdom and has taught you that which you did not know. And ever has the favor of Allāh upon you been great.
Translation: Sahih International