An Islamic court in northern Nigeria has acquitted two men accused of having gay sex and belonging to a homosexual club.
There was a lack of evidence to convict the young men, the judge ruled.
These are the first acquittals since Islamic courts in Bauchi city began trying a group arrested late last year for alleged homosexual offences.
Homosexual acts are illegal in Nigeria under Islamic and secular law – the latter was tightened in January.
Same-sex marriages, gay groups and shows of same-sex public affection are now banned throughout Nigeria.
Court clerk Abdul Mohammed told Reuters news agency that the men were acquitted because no-one saw them having sex.
“He [the judge] said sodomy is punishable with death and requires the testimony of four witnesses to the act and in the case of the two men, no-one saw them committing sodomy,” Mr Mohammed is quoted as saying.
The men were arrested after residents raided a home in Bauchi, finding one of them wearing shorts while the other was fully clothed, Reuters reports.
Five people have been convicted of homosexual offences by Bauchi’s Islamic courts since January.
They were sentenced to 20 lashes each.
The cases of five other suspects are pending, including that of a Christian who is expected to be tried in a secular court.
Most states in the predominantly Muslim north of Nigeria have adopted Islamic law, known as Sharia, since the end of military rule in 1999.
Nigeria is a deeply conservative country, where the majority of people – Christian and Muslim – are opposed to homosexuality.