Former Perlis mufti Mohd Asri Zainul Abidin described the acts of "certain parties" fanning racial sentiments as un-Islamic.