The woman, who DNAinfo is not naming to protect the identity of the child, filed for custody of their child after she saw on television that Rahami was arrested during a bloody shootout with police for planting bombs around New York and New Jersey, court documents filed in New Jersey read.
In the decision, Middlesex County Family Part Judge Peter Barnes denied her request to legally change the child's name and also said the court could not order counseling for the child or stop members of the media from contacting them.
It's not immediately clear how old the child is or if the couple had any other children, but the mother filed at least seven claims against Rahami since 2008 for more than $6,800 in child support, records show.
Rahami was captured on Monday in Linden, New Jersey, after the FBI put out a massive alert identifying him as the primary suspect in the Saturday bombing in Chelsea that injured 31 people and another one in Seaside Park. He was caught following a shootout with Jersey police officers.
He was charged with using a weapon of mass destruction, bombing a public place, destruction of property by means of fire or explosive and use of a destructive device during and in furtherance of a crime of violence by U.S. Attorneys in New York and New Jersey Tuesday.
Rahami was previously arrested in 2012 after violating an order of protection in a domestic violence case, according to court documents.
He later spent three months in jail after stabbing his brother in the leg in 2014 but was released after his brother recanted, sources said.