An adviser to Queensland senator Fraser Anning quit just hours after the Katter's Australian Party senator called for a "final solution" on immigration in his maiden speech.

In a post on LinkedIn, Richard Mcgilvray condemned Senator Anning’s speech and said he had no knowledge of the senator's plans to call his idea for a plebiscite on immigration "the final solution to the immigration problem".

Fraser Anning's advisor Richard Mcgilvray has resigned over Senator Anning's 'final solution' maiden speech. Credit:Alex Ellinghausen

"As many of you may have seen, last night Senator Anning gave his First Speech," Mr Mcgilvray wrote.

"I do not condone Senator Anning's speech. His reference to 'the Final Solution' was not something I had seen, heard of, or discussed prior to his remarks last night and as a consequence, within hours of Senator Anning's speech, I resigned my position effective immediately.