Starehe MP, Charles Kanyi, alias Jaguar, has been arrested outside the parliament buildings following his remarks on foreigners working in Kenya.
The legislator had threatened to gather a team of youth and round up all the foreigners operating in the city, beat them up then escort them to the airport for deportation.
His sentiments on Chinese and other foreigners hit headlines and tough measures are now in place.
Tanzanian parliament was discussing the matter and ordered their President John Pombe Magufuli to issue a statement on the situation of their nationals operating businesses in Kenya.
The government had earlier issued a statement saying that Kenya is a peaceful country and no one should be worried.