JAKARTA (REUTERS) - Politicians from four Indonesian parties are backing a so-called Family Resilience Bill that would outlaw surrogacy and require LGBT people to seek treatment at rehabilitation centres, prompting outrage on social media and criticism from activists.

Indonesia, the world's most populous Muslim-majority country, is seeing a shift towards greater conservativism, including growing state and public hostility against the lesbian, gay, bisexual and transgender (LGBT) community.

One of the Bill's proponents, Ms Ledia Hanifa of the opposition Prosperous Justice party, a conservative Islamic party, said in a statement posted on Parliament's website that the proposed Bill was intended to foster "family-based development".

According to a draft reviewed by Reuters, the family is defined as the smallest unit of society composed of married couples, married couples with children, and single parents.

The Bill states that wives must "take care of household-related matters" and "treat the husband and the child well".

The Bill is also seeking a maximum penalty of seven years in prison for surrogacy.

Under the Bill, homosexuality, incest and sadomasochism are defined as "sexual deviations" and it wants people to report themselves to government-sanctioned rehabilitation centres for treatment.

The Bill has been included on Parliament's priority list for the 2020-2024 period, though proponents have yet to discuss it with the government's related ministries.

Parties supporting President Joko Widodo currently control 74 per cent of seats in Parliament, so any Bill would likely need government blessing to gain traction.

Mr Supratman Andi Agtas, a Member of Parliament who heads a body overseeing the agenda of lawmakers, said a draft would be sent to the President before any deliberation between MPs and related ministries could start.

Mr Fadjroel Rachman, a spokesman for the President, did not immediately respond to a request for comment.

Related Story Indonesia rights body condemns plans for LGBT raids ordered by mayor after UK rape case

Discussion about the Bill has been trending on social media in Indonesia this week, with many of the posts critical of the draft, which has also been condemned by rights groups.

"It's a very patriarchal Bill and it will set back progress in gender equality and women's rights protection," Mr Usman Hamid of Amnesty International Indonesia told Reuters.

Ms Tunggal Pawestri, a gender rights activist, said the Bill would be harmful for anyone who did not have a marriage certificate.

"What about those who hold traditional beliefs who can't register their marriages?" she said. "And also people who can't afford to register the marriages?"