Police are questioning the ex-boyfriend of a 29-year-old woman who was tied up, tortured and raped over three days in her Bed-Stuy apartment, law enforcement sources tell NBC 4 New York.

Sources say the suspect, also 29, came to her apartment on Monday, and over the next three days, tied her up, raped her, beat her, stabbed her, slashed her and shaved her head.

A 2-year-old girl was in the apartment at the time, and on Wednesday night, the suspect allegedly forced the woman to call his mother and tell her to come get the girl.

When neighbors saw the child outside the apartment, they realized something was off and called police to check on the victim, sources said.

Police found the suspect and victim inside.