PAS' Pokok Sena MP Mahfuz Omar is ready to face any action his party will take against him for attending the Bersih 5 rally on Saturday.

This is after PAS president Abdul Hadi Awang said PAS will take action against its members who attended the Bersih 5 rally, which attracted at least 40,000 people in Kuala Lumpur.

"I am ready for it. It is up to the disciplinary committee to see whether what I did was an offence.

"I did what I did for Malaysians. I don't think Bersih is a threat to the public," he told reporters at the Parliament lobby today.

The former PAS vice-president has many times broken ranks with his party, including by voting against Budget 2017 and marching alongside Pakatan Harapan MPs to Bukit Aman this morning.

Other PAS MPs abstained from the Budget vote, while some were absent from the march which was also to demand the authorities uphold the immunity of Members of Parliament.

Meanwhile, another PAS MP Nik Mazian Nik Mohamad said he too was ready to face party action for joining the Bersih 5 rally.

However, the Pasir Puteh MP pointed out that there was no official directive barring PAS members from participating in the rally.

He was of the opinion that the rally, which called for clean government and elections, was not against Islam.

"When we do something, we must accept the consequences.

"I went to the Bersih rally because I've never missed one since the first Bersih rally," he said.

Nik Mazian said he was steadfast (istiqamah) in participating in the Bersih rallies.

The word "istiqamah" has often been used by Hadi in urging PAS members to be steadfast in the party's new direction without its former Pakatan Rakyat partners.

PAS' Kubang Kerian MP Ahmad Baihaqi Atiqullah, who was also at the Bersih 5 rally, said he wanted to show support for clean elections.

"There was no black and white instruction by the party to say that we can't go.

"But if the party wants to take action, we're ready for it," he said.

Ahmad Baihaqi said he believed the demands of Bersih remained unchanged until today.

PAS had mobilised for the first three rallies but chose to sit out of Bersih 4 and Bersih 5 after a falling out with the other opposition partners.