Massey’s husband, Joseph Massey, was being questioned at the 110th Precinct, cops said.

Massey, 27, who was 25 weeks pregnant, was on her way home after dropping three of her four kids off at school when she was shot about 8:30 a.m., sources said.

Massey’s husband told cops he heard the shots and banging on the door, sources said. He said he opened the door and she collapsed in his arms with wounds in her chest and arm, the law enforcement source said. He then called 911.

Anastasia was taken to Elmhurst Hospital, where she later died as doctors worked to save the baby girl. The infant later died.

Eunice Massey, 34, Joseph Massey’s sister in Detroit, told The Post that she was still trying to find out what happened.

“All I know is she was shot today after dropping her children off at school, and now she’s gone,” Eunice said by phone.

“They were doing fine. I don’t know how this happened, who could have done this, why? I’m still in disbelief about the whole thing,” she said.