Indian lawmakers are set to ratify a controversial law widely seen as anti-Muslim, Cable News Network (CNN) has reported.

Is there a story unfolding in your community? Let Hivisasa know

The law will give immigrants from neighbouring countries a pathway to Indian citizenship on the condition that they do not profess the Islamic faith.

Only Hindus, Sikhs, Buddhists, Jains, Parsis and Christians will benefit from the law called the Citizenship Amendment Bill (CAB).

Opposition lawmakers have railed against the controversial piece of legislation, holding the view that the fact that it pegs citizenship on religion makes it unconstitutional.

Members of the governing Bharatiya Janata Party (BJP) party have hailed the law saying that it will grant immigrants refuge, the BBC reports.

Legislators in the lower house overwhelmingly approved the legislation with 311 supporting and 80 voting against it.

The law will now be taken to the upper house, popularly known in India as the Rajya Sahba, for consideration.

Should it be approved by the majority, it will go to the next stage which is presidential assent.

Indian human rights activists have expressed their disappointment and displeasure at the law, saying that it is discriminative in nature.

"I think it is, without exaggeration, probably the most dangerous piece of legislation that we've had because it amounts to truly destroying the very character of the Indian state and the constitution," Harsh Mander, an Indian human rights activist and author, said as quoted by CNN.