India is home to 172 million Muslims, 14 percent of the population, making it one of the largest Muslim countries in the world.
Family matters for the vast nation's many communities are governed by their religious traditions, making the Supreme Court's ruling in the eyes of some Muslims an intrusion in their affairs.
Triple talaq gave Muslim women in India almost no say in matters of divorce. Husbands have divorced their wives by phone, text message and mail, or sometimes in the heat of trivial marital arguments. By contrast, women almost always must obtain the man's consent for a divorce.
Justice Kurian Joseph, one of three judges on the bench who ruled against the practice, said in court, "Triple talaq is against the basis of sharia [Islamic law] . . . what is said to be bad in the holy Koran cannot be good in sharia."
Petitioners in the case, including women's rights activists and multiple women who had been divorced by triple talaq, argued that the practice did not treat men and women equally. Prime Minister Narendra Modi's Hindu-nationalist government supported them.
"Today's judgment on one level is very historic," said Hasina Khan, from the Bebaak Collective, an organization that campaigns against the practice. "It is not a victory that has been achieved after one or two years — Muslim women have been coming to courts and filing petitions and laying the groundwork for this for years."
The bench delivered its verdict to a courtroom packed with journalists, lawyers and women's rights activists who strained to hear the final ruling.
Outside, a senior lawyer jumped in the air with glee after hearing the decision. "This is what we wanted," she said, hugging women around her.
The issue of banning triple talaq has been at the center of national debate in recent weeks. Supporters of the practice argue that it is an integral part of Islam and that banning it could affect Muslims' fundamental right to practice their religion in India.
Kamal Faruqui, a member of the executive committee of the All India Muslim Personal Law Board, which advocates for Muslim law, said: "We don't see this as a favorable verdict. Triple talaq is a part of our religion and of sharia."
In recent months, leading members of the ruling Hindu-nationalist Bharatiya Janata Party have voiced support for women fighting against instant divorces.
Modi has been one of the most vocal detractors of the practice. In a tweet after the verdict, he wrote: "Judgment of the Hon'ble SC on Triple Talaq is historic. It grants equality to Muslim women and is a powerful measure for women empowerment."
But critics argue that Modi's party has a weak record on women's rights and is just using the issue to restrict the rights of Muslims in India. "It looks like a political strategy," Faruqui said.
Speaking to news cameras on a lawn outside the court, Zeenat Ali Siddiqui, who was divorced by her husband through triple talaq in 2015, wailed with joy.
"Thousands, millions of women are crying at home," she said.
Her husband divorced her without giving a reason, leaving her to parent their two children alone.
"Narendra Modi has ended the practice of men throwing their women out from trivial reasons like making the lentils too sour," she said. "When this happens to women, they are looked at with an evil eye. I know how it feels because it has happened to me."