The accused lives at 34, Emmanuel Aina Street, Aboru, Ipaja, Lagos. He, however, pleaded not guilty.
The prosecutor, Inspector Racheal Williams, told the court that the offence was committed at the residence of the defendant on September 3.
According to the prosecution, the accused called the child to his room to send her on an errand.
Williams said the suspect, however, raped the child and that her screaming attracted neighbours, who then rescued her and reported the incidence to the police.
The prosecutor said the offence contravened Section 137 of the Criminal Law of Lagos State, 2011.
The Magistrate, Mr. Tajudeen Elias, granted him bail in the sum of N2 million with two sureties in like sum.
Elias adjourned the case to October 8, for mention.