He said the teenage girl was on her way home when the suspect accosted her.
Mr Ojajuni said the operation prevented what could have resulted in a serious kidnapping incident.
The bodies have since been deposited in a morgue pending further investigation.
He further urged employers and members of the public to remain security-conscious.
The police command in Ogun says it has intensified security operations to prevent kidnapping and other related violent crimes across the state.
He said a search of the hideout led to the recovery of a locally made pistol.
The police command in Ogun has arrested three suspected armed robbers and recovered three stolen vehicles and a pistol.
Mr Babaseyi said that preliminary investigation showed that the suspects were part of a four-man gang.
The police command in Ogun says it has rescued five students of the Gateway Polytechnic, Saapade, whom gunmen kidnapped in the Saapade area.
The police command in Ogun has arrested four suspected cultists for armed robbery.
