الانعام — Al-An'am Ayat 88
ذٰلِكَ هُدَى اللّٰهِ يَهْدِيْ بِهٖ مَنْ يَّشَاۤءُ مِنْ عِبَادِهٖ ۗوَلَوْ اَشْرَكُوْا لَحَبِطَ عَنْهُمْ مَّا كَانُوْا يَعْمَلُوْنَ
Żālika hudallāhi yahdī bihī may yasyā'u min ‘ibādih(ī), wa lau asyrakū laḥabiṭa ‘anhum mā kānū ya‘malūn(a).
"That is the guidance of Allah by which He guides whomever He wills of His servants. But if they had associated others with Allah, then worthless for them would be whatever they were doing."