A case has been filed against Samajwadi Party (SP) candidate Nahid Hasan for making defamatory remarks against BJP prime ministerial candidate Narendra Modi and Bahujan Samaj Party (BSP) supremo Mayawati.

Hasan is contesting from Kairana Lok Sabha constituency.

A case under Sec 171G of the Indian Penal Code (IPC) has been filed against him.

"We observed the video. During elections, one cannot make such comments that he was making. He will be prosecuted according to law," said District Magistrate Narendra Singh.

While addressing a meeting at the Shamli inter-college, Hasan made the controversial comments on both Modi and Mayawati.