Q&A programme.' />

A social media storm has erupted after Queensland Senator-elect Pauline Hanson spoke out about Islam on ABC TV's Q&A programme.

The One Nation leader attempted to justify her quest for a royal commission into Islam while appearing on the panel show, sparking outrage online.

She told the live audience that she didn't believe Islam is compatible with the Australian culture and way of life, adding that people felt they couldn't walk the streets as they feared being attacked by Islamist terrorists. Hanson supports a ban on Muslim immigration.

Her comments were attacked on social media as hateful, ignorant and divisive.


"There's freedom of speech and then there's hate speech. #PaulineHanson crossed that line tonight and Q and A allowed her," Afghanistan-born lawyer Mariam Veiszadeh tweeted.

Others expressed concern about how Hanson's election success had sparked attacks against Muslims.

More than 14,000 people tweeted 71,000 times using the #QandA hashtag during the programme, according to the ABC.

Twitter lit up during an exchange between Hanson and Labor Senator Sam Dastyari, who migrated to Australia with his family in 1988 from Iran.

Dastyari asked if Hanson would have allowed him into the country as a 5-year-old because he was born Muslim.

"Are you a Muslim?" Hanson asked. "I'm surprised, I didn't know that about you."

Hanson's reaction drew bewildered laughs from the live audience. "It is a matter of real concern that a member of our Senate is so foolish," prominent Australian barrister Julian Burnside tweeted.

Hanson did draw support from some. One tweeter who went by the name of Grandee Zip described Hanson as a strong Australian woman who was "defending our rights" and "shining light on unfolding catastrophe".

Hanson says she's had a flood of support since appearing on the programme. "People are just saying 'please don't give up, you are there as a voice for us'. This is not an issue I'll allow to be buried under the carpet," the One Nation leader said. "You hear the Prime Minister going on about border protection. But this is within our borders now. This is our greatest danger."