Pointing out that he has been repeatedly reading about Gandhi and his life, Haasan recalled an anecdote where the latter once lost his slipper while travelling in a train.
The BJP MP also said that Haasan should not be afraid of getting arrested 'because he is Muslim'.
The Sulur seat fell vacant in March following the death of AIADMK MLA R Kanakaraj who died following cardiac arrest.
Meanwhile, in another tweet, the MNM chief also released a video to conclude his campaign for the by-elections to the four Assembly constituencies.
Asked why Narendra Modi didn’t visit the Cyclone Gaja-affected places in Tamil Nadu, she said the prime minister had sent a representative instead.
In a stinging rebuke, the Prime Minister went on to say that leaders should think a hundred times before making such statements in the future.
The Makkal Needhi Maiam chief also said that he was not afraid of being arrested but warned any such action would escalate tensions.
Two men were arrested for throwing eggs and pelting stones at Kamal Haasan during a public meeting in Aravakurichi on Thursday. The MNM chief escaped unhurt.
Haasan had stoked a controversy on Sunday by saying "free India's first extremist was a Hindu", referring to Nathuram Godse who killed Mahatma Gandhi.
Police in Aravakurichi in Karur district have registered a case against the actor based on a complaint filed by a right-wing activist.
Rambha later forwarded the complaint to the South Police Station, and gave the acknowledgement for the complaint.
The actor was addressing an election meeting in the Tirupparankundram Assembly constituency.
Filing the petition before the Madras High Court, Kamal said his speech was about Nathuram Godse only and not about Hindus as a whole.
The high court also asked the EC to decide BJP leader Ashwini Kumar Upadhyay's representation against the remarks of actor-cum-politician.