Muslims do not speak with one voice on Hinduism. Most Muslim discussion starts from belief in one God, and from the concern that worshipping other beings or images is shirk, the association of partners with God. Other Muslims point to Quranic verses on respect and religious freedom. Muslim scholars have also studied Hindu thought for centuries, so the answer depends on which Muslims and which texts you consider.
The Islamic idea of one God
Islam’s central belief is tawhid, the oneness of God. Shirk is widely regarded as the gravest sin in Islam. The Quran says that God does not forgive association with Him (4:48). Many Muslims see the Hindu worship of multiple deities and sacred images through this teaching, and it is the main theological difference that comes up in discussions between the two traditions.
What the Quran says about other faiths
The Quran contains verses that Muslims often cite when discussing other religions. Surah al-Kafirun (109:6) ends with the line that each side has its own religion. Surah al-Baqarah (2:256) says there is no compulsion in religion. Surah al-An’am (6:108) tells Muslims not to insult what others worship, lest they insult God out of hostility. Scholars read these verses in different ways, and they weigh them against the verses that condemn shirk.
Muslim scholars who studied Hinduism
Al-Biruni, a Persian scholar who lived from around 973 to 1050, spent years in India and wrote a long study of Indian religion, philosophy and customs. He learned Sanskrit to do it. His account is detailed, though it is not uncritical. In the 1650s, the Mughal prince Dara Shikoh translated about fifty Upanishads into Persian under the title Sirr-i-Akbar, or “The Greatest Secret.” Such works show that Muslim thinkers engaged with Hindu texts, even when they disagreed with them.
Muslim rulers and Hindu subjects
Muslim rulers governed large Hindu populations across South Asia for centuries, and their policies varied. Some imposed a tax on non-Muslim subjects, the jizya, while others ended it. The Mughal emperor Akbar abolished the jizya in the 1560s. Muslim jurists also disagreed about how to classify Hindus under Islamic law, since Hindus did not fit neatly into the categories the law had developed for other religions.
Muslims and Hindus in Southeast Asia
About 87 percent of Indonesians were Muslim in the 2010 census, and Hindus are a small minority outside Bali. In Malaysia, Islam is the official religion of the federation, and the constitution says other religions may be practiced in peace and harmony. Hindus there are a minority, and many are of Tamil descent. Relations between the communities vary by place and period, and they are shaped as much by local life and politics as by theology.
Hindu thinkers also differ among themselves about whether God and the self are distinct, a difference that runs through dualism in hinduism. A common follow-up question is “Do Muslims believe in Krishna?” The short answer is that Islamic belief does not accept deities alongside God, though how individual Muslims talk about Hindu figures varies.
For a fair picture, read the primary texts and several scholars from each tradition, and expect differences within each community as well as between them.