Text: The Muslims tried to purify the Islamic practice of the Hindu rituals which had accrued over the years.
Entailment: Over the years Hindu rituals made their way into Islamic practice and the Muslims tried to cleanse this.
Contradiction: The Muslims didn't care if Islamic practice came to include Hindu rituals.