Two other men and a woman also lived in the apartment, according to testimony.
Mollica ordered Capers held without bond until he faces a trial judge, the Sun-Sentinel reported. Mollica also ordered Capers not to contact the child or her family and said he could not go within a mile of their home.
Capers was being held on $350,000 bond.
If he is released before his trial, Capers will have to wear a GPS monitor, Mollica said.