The Muslims tried to purify the Islamic practice of the Hindu rituals which had accrued over the years.
The Muslims cared if Islamic practice came to include Hindu rituals.
The Muslims didn't care if Islamic practice came to include Hindu rituals.