Pre Islamic society borrowed the conceptsl of Hinduism either directly or through the Hitties/Sumeria. Prophet had destroyed 360 Idols in Kaaba. There were four Major Deities. Hubbol, Al-lat, Al-Uzza and Manat.
Though the present evidence suggests that the Black Stone worshipped in Kaaba is a Shiva Kings,new evidence suggests that there could have been a huge Temple Complex,where now stands a truncated Kaaba.
This temple housed many Deities.
Lord Vishnu seems to have been another Primary Deity along with Shiva.
The ground floorplan of Mecca is after the Vedic Principle of Temple Construction.
The Worship of Many God’s, Polytheism was practiced.
The Religious concepts were from Sumeria,Sassanian empire,Iran and from Greece.
All these were derived from Santana Dharma.
I have written on the influence of Santana Dharma on all these civilisations from whom the Pre Islamic Deities were derived.
Islam also has names/Attributes of Allah.
These are taken from the Koran and the commentaries on The Koran,Hadiths.
These names are Ninety Nine.
According to him as well as a later Ghaznavid historian Gardizi, the images of the other goddesses were destroyed in Arabia but the one of Manat was secretly sent away to Kathiawar (in modern Gujarat) for safe keeping. Since the idol of Manat was an aniconic image of black stone, it could have been easily confused with a Shiva lingam at Somnath. Mahmud is said to have broken the idol and taken away parts of it as loot and placed so that people would walk on it.