It says in Wikipedia that the Chams were Hindu, turned Buddhist, then became Muslim once their power was in decline.
https://en.wikipedia.org/wiki/Champa#Islam
Ah I see. I assumed they were all Hindu because what little reading I did of them was about Champa city states prior to Islam's introduction, and when I went to Vietnam the Cham there were Hindu.