Rafiu, who resides at the Ojodu area of Lagos, is charged with indecent treatment of a child.
The Magistrate, Mrs. Ejiro Kubeinje, who did not take Rafiu, ordered the police to send the case file to the state Director of Public Prosecutions (DPP) for legal advice.
She ordered that Rafiu be kept in the Kirikiri Correctional Centre, pending DPP advice.
Kubeinje adjourned the case until Sept. 9 for mention.
The Prosecution Counsel, ASP Bisi Ogunleye, told the court that the defendant committed the offense on July 18 at his residence.
He said that the defendant sexually molested the minor.
Ogunleye said that the offense contravened the provisions of Section 135 of the Criminal Law of Lagos State, 2015.
The Newsmen reports that the indecent treatment of a child attracts seven years of jail term.