The suspects took advantage of the woman who was alone in the mosque following a trip from Niger state.
A report disclosed that the duo, both security guards at a filling station laid an ambush for the victim in a bid to sexually assault her.
Her personal items were also reportedly forcefully taken by the men.
According to the state police commissioner, Sam Adegbuyi, the incident occurred on Wednesday, February 1, 2017 at the early hours of the morning.
The victim had taken shelter at the place of worship when the pair accosted her with weapons.
“On February 1, at about 1a.m., two night guards attached to a filling station along Ologuneru-Eruwa Road, attacked a female, who had sought refuge at a nearby mosque and robbed her of her belongings, including phone and cash.
“The men, armed with guns and cutlasses, also raped the victim before they escaped.
“However, due to thorough investigation, the two suspects, later identified as Olajide Olakanmi, aged 30, and Olanrewaju Taiwo, aged 29 were arrested," Adegbuyi stated.
The woman, whose identity is yet to be revealed had just returned on a trip from Niger state.
A motorcyclist reportedly took her to the mosque where she had hoped to find safety and pass the night before she continued her journey home.
Having confessed to the crime, the police commissioner mentioned that they will soon be charged to court to answer for their crime.