The 6-month-old daughter of San Bernardino shooters Tashfeen Malik, 29, and Syed Rizwan Farook, 28, was the subject of a custody hearing in San Bernardino County early Monday.

The baby is now being cared for by San Bernardino County Child Protective Services, family advocates say.

But Farook’s sister is trying to adopt the girl, who was orphaned Wednesday, when her parents died in a gunbattle with police.

The couple left their baby with Farook’s mother before the shooting spree that killed 14 and wounded 21 at the Inland Regional Center in San Bernardino.

Early Monday, Farook’s sister, Saira Khan, and the baby’s grandmother attended a custody hearing, according to statement issued by the Council on American-Islamic Relations – Greater Los Angeles Area office.

According to the statement, the council “is working to make sure that the baby is placed with a Muslim foster family while she remains in the custody of San Bernardino County Child Protective Services.

“It is also working with the family to ensure that the child is swiftly reunited with her family.”

Fatima Dadabhoy, an attorney with the council, accompanied the family. A second hearing is set for January, the statement said.

Khan told reporters she and husband, Farhan Khan, intend to adopt her niece. Saira Khan of Riverside has two children: a daughter, 2, and a boy, 7, according to a New York Times report.

Khan has said she wants to give the child a stable upbringing.

“We want her to enjoy her innocence,” Khan told ABC News.

Contact the writer: 951-368-9471 or ddanelski@pe.com