Allah says:
وَلِلَّـهِ الْأَسْمَاءُ الْحُسْنَى فَادْعُوهُ بِهَا وَذَرُوا الَّذِينَ يُلْحِدُونَ فِي أَسْمَائِهِ سَيُجْزَوْنَ مَا كَانُوا يَعْمَلُونَ
“And the most beautiful names belong to Allah alone, so call upon Allah by these names, and keep away from those who deviate in His names. They will surely be recompensed for what they used to do.”
In this verse Allah, the Exalted, is instructing the believers how Allah should be remembered, and how to deal with those who are heedless and astray concerning the remembrance of Allah. فادعوه بها “Call upon Allah by His beautiful names” has two meanings: that is, name Allah with His beautiful names. The second meaning is: call upon Allah and remember Him by His beautiful names. وذر والذين يلحدون فى اسمائه “And leave those who deviate in His names”: ilhad (deviation) means turning away from the truth and adopting the path of falsehood, and calling Allah by names which Allah has not informed us of, just as the villagers call Allah by names such as ابوالمكارم and ابيض الوجه, in which a corrupt meaning contrary to the majesty of Allah is expressed.
And Allah says:
قَدْ خَلَتْ مِنْ قَبْلِهَا أُمَمٌ لِتَتْلُوَ عَلَيْهِمُ الَّذِي أَوْحَيْنَا إِلَيْكَ وَهُمْ يَكْفُرُونَ بِالرَّحْمَـنِ قُلْ هُوَ رَبِّي لَا إِلَـهَ إِلَّا هُوَ عَلَيْهِ تَوَكَّلْتُ وَإِلَيْهِ مَتَابِ
“Thus, O Muhammad, We have sent you among a community before which many communities have passed away, so that you may recite to them the Book which We have sent down to you, while they disbelieve in the Most Merciful. Say: He is my Lord, there is no god but Him; in Him I have put my trust and to Him I turn.”
Qatadah, Ibn Jurayj and Muqatil state that this verse was revealed concerning the polytheists of Arabia. When the polytheists saw the treaty document on the day of Hudaybiyyah, in which Ali (may Allah be pleased with him) had written بسم الله الرحمن الرحيم, Suhayl bin Amr said: we regard only Musaylimah as al-Rahman. Likewise, when Abu Jahl heard the Messenger of Allah ﷺ say يا الله يارحمنٰ, he said: Muhammad forbids us from worshipping many gods, while he himself is calling upon only two gods. Then this verse was revealed. Some say that when the disbelievers of Quraysh were told اسجدو واللرحمنٰ “Prostrate to al-Rahman,” they said, “What is al-Rahman?” There are further details concerning this verse.
Allah says:
وَقَالُوا لِجُلُودِهِمْ لِمَ شَهِدتُّمْ عَلَيْنَا ۖ قَالُوا أَنطَقَنَا اللَّهُ الَّذِي أَنطَقَ كُلَّ شَيْءٍ وَهُوَ خَلَقَكُمْ أَوَّلَ مَرَّةٍ وَإِلَيْهِ تُرْجَعُونَ ٭ وَمَا كُنتُمْ تَسْتَتِرُونَ أَن يَشْهَدَ عَلَيْكُمْ سَمْعُكُمْ وَلَا أَبْصَارُكُمْ وَلَا جُلُودُكُمْ وَلَٰكِن ظَنَنتُمْ أَنَّ اللَّهَ لَا يَعْلَمُ كَثِيرًا مِّمَّا تَعْمَلُونَ ٭ وَذَٰلِكُمْ ظَنُّكُمُ الَّذِي ظَنَنتُم بِرَبِّكُمْ أَرْدَاكُمْ فَأَصْبَحْتُم مِّنَ الْخَاسِرِينَ
“And they will say to their skins, that is, their limbs: Why did you testify against us? They will say: Allah, who gave speech to everything, gave speech to us also, and it is He who created you the first time, and to Him you will be returned. And you did not use to conceal yourselves from the possibility that your ears and your eyes and your skins would testify against you; rather, you thought that Allah did not know much of what you do. And that thought of yours, which you thought about your Lord, has destroyed you, and you have become among the losers.”
This verse shows that the people of the Jahiliyyah used to deviate in the names and attributes of Allah. Regarding the occasion of revelation of this verse, Ahmad, al-Bukhari, Muslim, al-Tirmidhi, al-Nasa’i and others narrated from Abdullah bin Masud (may Allah be pleased with him). He says: One day I was sitting leaning against the covering of the Kaaba when three men came, one from Quraysh and two from Thaqif, or one from Thaqif and two from Quraysh, with very fat bodies and little understanding. They began to talk among themselves, and I could not hear them well. One of them said: Do you think Allah hears this talk of ours? Another said: He hears when we speak loudly, otherwise not. The third said: If He hears some of it, then He hears all of it. So I mentioned this incident to the Messenger of Allah ﷺ, upon which Allah revealed this verse. People deviate in the attributes of Allah through this kind of talk.
And you know well that today most Muslim theologians (mutakallimun) have adopted more deviation in the names and attributes of Allah than the era of Jahiliyyah did, and they have assigned to Allah such names about which Allah has not revealed any verse. Some of them say that the attributes of Allah are neither identical to His essence nor other than it; some say that the attributes of Allah are other than His essence. Some say that Allah did not speak with the books He revealed. They affirm for Allah only inner speech (kalam nafsi), and say that Allah did not speak to any of His messengers, and they have filled their entire books with this kind of nonsense. They think that this verse is specific to the people of the Jahiliyyah, and they do not know that they too are included in the generality of this verse. Those whom Allah has granted insight and whose hearts He has illuminated do not take their beliefs from the books of such misguided people, but rather obtain knowledge of Allah from the books of the Salaf, which consist of the evidences of the Book and the Sunnah.