A South African opposition MP has caused laughter in parliament by suggesting that ministers be given so-called dumb phones to avoid what he called "embarrassing activities".

Mbuyiseni Ndlozi, from the Economic Freedom Fighters (EFF), was referring to a mobile phone video that has been widely shared of Home Affairs Minister Malusi Gigaba masturbating.

Mr Ndlozi made the comments during the parliament's question and answer session with President Cyril Ramaphosa.

He said, displaying the phone, that "it cannot be hacked".

Mr Gigaba, who was in parliament, reacted to the comments by flashing his little finger.

The government minister, who has refused to resign over the scandal, has blamed South Africa's security services for hacking his phone.