A group of 51 Muslim states has blocked 11 gay and transgender organisations from attending a high-level meeting at the United Nations next month on ending AIDS, sparking a protest by the United States, Canada and the European Union.

Egypt wrote to the president of the 193-member General Assembly on behalf of the Organisation of Islamic Cooperation to object to the participation of the 11 groups. It did not give a reason in the letter, which Reuters saw.

Samantha Power, US ambassador to the United Nations, wrote to General Assembly President Mogens Lykketoft and said the groups appeared to have been blocked for involvement in lesbian, gay, bisexual and transgender advocacy.

The top 15 worst countries to be gay in Europe Show all 15 1 /15 The top 15 worst countries to be gay in Europe The top 15 worst countries to be gay in Europe 15. Italy Getty Images The top 15 worst countries to be gay in Europe 14. Macedonia Processed by: Helicon Filter; The top 15 worst countries to be gay in Europe 13. Poland Getty Images The top 15 worst countries to be gay in Europe 12. Liechtenstein The top 15 worst countries to be gay in Europe 11. Lithuania The top 15 worst countries to be gay in Europe 10. Latvia This content is subject to copyright. The top 15 worst countries to be gay in Europe 9. San Marino The top 15 worst countries to be gay in Europe 8. Moldova The top 15 worst countries to be gay in Europe 7. Belarus Getty Images The top 15 worst countries to be gay in Europe 6. Ukraine Getty Images The top 15 worst countries to be gay in Europe 5. Monaco The top 15 worst countries to be gay in Europe 4. Turkey Getty Images The top 15 worst countries to be gay in Europe 3. Armenia The top 15 worst countries to be gay in Europe 2. Russia Getty Images The top 15 worst countries to be gay in Europe 1. Azerbaijan Norway's Mette B. Bjerknaes competes during the Powerboat race on July 6, 2013 in Baku. Baku hosts the second race F2 World Championship 2013. The 2 mile course is designed just in front of the Baku Boulevard facing the Caspian Sea. AFP PHOTO / TOFIK BABAYEV (Photo credit should read TOFIK BABAYEV/AFP/Getty Images) Getty/AFP

"Given that transgender people are 49 times more likely to be living with HIV than the general population, their exclusion from the high-level meeting will only impede global progress in combating the HIV/AIDS pandemic," Ms Power wrote.

UN officials said the European Union and Canada also wrote to Lykketoft to protest the objections by the OIC group, whose members include Saudi Arabia, Iran, Indonesia, Sudan and Uganda.

The issues of LGBT rights and participation in events at the United Nations have long been contentious. UN Secretary-General Ban Ki-moon has advocated for LGBT equality but faced opposition from African, Arab and Muslim states as well as Russia and China.

Two gay-rights activists hacked to death in Bangladesh

"We are deeply concerned that at every negotiation on a new General Assembly gathering, the matter of NGO (non-governmental organisation) participation is questioned and scrutinised," Ms Power wrote.

"The movement to block the participation of NGOs on spurious or hidden grounds is becoming epidemic and severely damages the credibility of the UN," she said.

In 2014, Mr Ki-moon said the UN would recognise all same-sex marriages of its staff, allowing them to receive its benefits. Russia, with the support of 43 states including Saudi Arabia, China, Iran, India, Egypt, Pakistan, and Syria, unsuccessfully tried to overturn the move last year.

In February, the 54-member African Group, the Organisation of Islamic Cooperation and the 25-member Group of Friends of the Family led by Belarus, Egypt and Qatar protested six new UN stamps promoting LGBT equality.

The Group of Friends of the Family promotes the traditional family. It launched a photo exhibit, "Uniting Nations for a Family Friendly World," at the UN on Tuesday, which is the International Day Against Homophobia, Transphobia and Biphobia.