88ذَٰلِكَ هُدَى ٱللَّهِ يَهْدِى بِهِۦ مَن يَشَآءُ مِنْ عِبَادِهِۦ ۚ وَلَوْ أَشْرَكُوا۟ لَحَبِطَ عَنْهُم مَّا كَانُوا۟ يَعْمَلُونَ
89أُو۟لَـٰٓئِكَ ٱلَّذِينَ ءَاتَيْنَـٰهُمُ ٱلْكِتَـٰبَ وَٱلْحُكْمَ وَٱلنُّبُوَّةَ ۚ فَإِن يَكْفُرْ بِهَا هَـٰٓؤُلَآءِ فَقَدْ وَكَّلْنَا بِهَا قَوْمًا لَّيْسُوا۟ بِهَا بِكَـٰفِرِينَ
90أُو۟لَـٰٓئِكَ ٱلَّذِينَ هَدَى ٱللَّهُ ۖ فَبِهُدَىٰهُمُ ٱقْتَدِهْ ۗ قُل لَّآ أَسْـَٔلُكُمْ عَلَيْهِ أَجْرًا ۖ إِنْ هُوَ إِلَّا ذِكْرَىٰ لِلْعَـٰلَمِينَ
[88-90] This is Allah's Guidance by which He guides anyone of His servants He pleases: but if any of His people had ever practiced shirk, all the good deeds they had done would have been rendered vain.56 Such were the people on whom We bestowed the Book, the Judgment and the Prophethood.57 Now, if these people do not believe in it (it does not matter); We have bestowed this favor upon others who are not ungrateful to it58 - O Muhammad, those were the people who were rightly guided by Allah; so you should also follow their way and say, "I ask no recompense from you for showing this (Guidance); this is an admonition to all the people of the world."
56That is, "Even if the above-mentioned people had been guilty of shirk like you, they would never have been exalted to such high ranks. This is because shirk is such a heinous sin that it destroys good works. It is just possible that any such person might have won fame as a great conqueror by ruthless destruction, or might have amassed fabulous wealth by foul means and become a notorious wealthy man like Korah or done some infamous thing and won name for himself but he could never have won the exalted position of being the leader of the pious and the right guided. They won the unique distinction of being the source of virtue and guidance for the whole world because they scrupulously avoided shirk and steadfastly followed the way of God-worship.
57Here it has been stated that three things had been bestowed on the Prophet: (1) The Book, Divine Guidance. (2) The Judgment the good sense to understand that Guidance and the capability to apply its principles to the affairs of life and the God-given ability to form correct opinions about the problems of life. (3) The Prophethood the office of guiding the people in accordance with the Divine Guidance.
58That is,it does not matter at all, if these disbelievers and mushrikin have rejected the Guidance of Allah. We have raised a Community of the Believers, who appreciate fully the worth of this blessing.