وَلَوْ شَآءَ ٱللَّهُ لَجَعَلَهُمْ أُمَّةًۭ وَٰحِدَةًۭ وَلَٰكِن يُدْخِلُ مَن يَشَآءُ فِى رَحْمَتِهِۦ ۚ وَٱلظَّٰلِمُونَ مَا لَهُم مِّن وَلِىٍّۢ وَلَا نَصِيرٍ٨
If Allah had willed, He would have made all of them a single community, but He admits to His mercy whom He wills, and the wrongdoers will have no protector or helper.
[ ↗ Study from physical print edition ]And if Allah willed, He could have made them [of] one religion, but He admits whom He wills into His mercy. And the wrongdoers have not any protector or helper.
[ ↗ Study from physical print edition ]8. If Allah willed to make them one nation on the religion of Islam He would have done so and entered them all into Paradise. But, His wisdom demanded that He enters whoever He wills into Islam and then enters him into Paradise. Those who wrong themselves by disbelief and sins, will have no one to protect them and no helper to rescue them from Allah’s punishment.
And had God willed He would have made them one community in other words following one religion and that is Islam; but He admits whomever He will into His mercy and the evildoers the disbelievers have neither guardian nor helper to ward off the chastisement from them.
لِّتُنذِرَ أُمَّ الْقُرَىٰ (So that you may warn the town that is the mother of all towns) - Umm-ul- Qura (mother of all the towns) means the origin and foundation of all habitations and cities which is Makkah. This title has been given to this city because, to Allah Almighty, it is more distinguished and more excellent than all other cities, habitations and the whole earth. Imam Ahmad has narrated in Musnad, with the authority of Sayyidna ` Adiyy Ibn Hamra' Az-zuhri ؓ that he heard the Messenger of Allah at a market of Makkah when he ﷺ was migrating from the city. He ﷺ was addressing Makkah in the following words:انک لخیر ارض اللہ و احبّ ارض اللہ اَلَیَّ ولو لا اِنّی اُخرجت منک لما خرجت"To me, you are better and dearer than the whole of Allah's earth; if I had not been expelled from your vicinity, I would never have left it of my own accord." (At-tirmidhi, An-Nasa'i, Ibn Majah - rated as ` hasan ahib' by Tirmidhi)وَمَنْ حَوْلَهَا - means the suburbs in the neighborhood of Makkah Mukarramah; it could mean the neighboring Arab countries as well as the whole of the earth from east to west.
Tafsir al-Qurtubi [The Compendium of Legal Rulings]
تفسير القرطبي (الجامع لأحكام القرآن)قَوْلُهُ تَعَالَى: ﴿وَلَوْ شاءَ اللَّهُ لَجَعَلَهُمْ أُمَّةً واحِدَةً﴾ قَالَ الضَّحَّاكُ: أَهْلُ دِينٍ وَاحِدٍ، أَهْلُ ضَلَالَةٍ أَوْ أَهْلُ هُدًى. "وَلكِنْ يُدْخِلُ مَنْ يَشاءُ فِي رَحْمَتِهِ" قَالَ أَنَسُ بْنُ مَالِكٍ: فِي الْإِسْلَامِ. "وَالظَّالِمُونَ" رُفِعَ عَلَى الِابْتِدَاءِ، وَالْخَبَرُ "مَا لَهُمْ مِنْ وَلِيٍّ وَلا نَصِيرٍ" عُطِفَ عَلَى اللَّفْظِ. وَيَجُوزُ "وَلا نَصِيرٍ" بِالرَّفْعِ على الموضع و "مَنْ" زائدة.