The Selangor Islamic Council (Mais) has been ordered by the Selangor palace to withdraw Zamihan Mat Zin's accreditation to give religious lectures in the state.

Mais has also been instructed to remove Zamihan from the Selangor Tauliah Committee.

In a statement today, Selangor Council of the Royal Court secretary Hanafisah Jais said Selangor ruler Sultan Sharafuddin Idris Shah had consulted the council before issuing instructions to Mais.

"This follows a religious lecture by Zamihan which contained words that are racist, ill-mannered and excessively critical of the royal institution.

"Moreover, the said lecture was delivered at a royal mosque, where a lecture of such nature should not have taken place," he said.

Hanifisah said Sultan Sharafuddin also decreed that all mosque and surau committees must now subject all lectures to video recordings for content monitoring purposes.

"This is the ensure compliance with the Tauliah (State of Selangor) Regulations 2008 and Mosque and Surau (State of Selangor) Regulations 2017," he said.

Sultan Sharafuddin also ruled that the PA system broadcast of all mosques and surau lectures be limited to just the compound of the facilities.

This ruling does not apply to the "azan" (call to worship) and the recitation of verses from the Quran.

Meanwhile, Hanafisah said Malay rulers are of the position that Islam, as the religion of the federation, has encouraged Muslims to be tolerant, moderate and inclusive.

"It is wajib (compulsory) for us to ensure that the religion is not tainted by those who are keterlaluan (overzealous) and divisive.

"The Selangor ruler also reminds the people of Selangor to respect the main principles in the Federal Constitution to ensure the stability and peace of the country," he said.

Zamihan is currently under police investigation over his lecture at a mosque in Shah Alam where he criticised an unnamed ruler and two muftis over their opposition to a Muslim-friendly launderette.

He even dared those in attendance to spread his recordings of his lecture.

However, at the time, the only ruler to have spoken out against such a business venture was the Johor ruler Sultan Ibrahim Sultan Iskandar.

Other rulers have come out in support of Sultan Iskandar over the issue.