A tip-off received by Nigeria’s intelligence officers led to police raiding a suspected gay wedding ceremony on Saturday in the northern city of Sokoto-a leading centre of Islamic learning, a police spokesman Almustafa Sani has told the BBC Hausa service.
Police were conducting a thorough investigating with a view to charge the two people arrested for being involved in “unnatural” conduct, he added.
Mr Sani said homosexuality was illegal under Nigeria’s secular constitution, and Islamic law which is applied in Sokoto state.
Other people at the ceremony dispersed when police arrived at the venue, he added.
Former Nigerian President, Goodluck Jonathan signed the Same Sex Marriage (Prohibition) Bill in January 2014, meaning those who enter into a same-sex marriage or civil union face a 14-year prison sentence.
In addition, it is an offence to take part in or witness a same-sex marriage ceremony.
The strict law also forbids people from running gay clubs, societies, processions or meetings in Nigeria. The punishment for such acts is 10 years in prison.