Egypt's Azbakiya prosecution referred on Saturday six men to a misdemeanour court for "forming a network for homosexual acts" and "debauchery," Al-Arabic Ahram news website reported.
Last week, police raided a flat in Cairo's Ramses Square and arrested six men in “indecent positions,” according to the prosecution.
The prosecution also says that the defendants had solicited sex with other men for money in Ramses Square.
The prosecution has ordered the suspects be subjected to a medical examination to determine if they have committed homosexual acts.
The prosecution has said that a number of young men who had frequented the Ramses flat were the ones who raised the rainbow LGBT flag while attending a concert featuring Lebanese rock band Mashrou’ Leila last week.
On Monday, police arrested another seven people who allegedly raised the rainbow flag, which is an international symbol of “LGBT pride.”
Pictures of fans raising the flag at the concert went viral on social media and caused a storm of controversy on Egyptian TV talk shows.
While consensual homosexual acts are not explicitly criminalised under Egyptian law, people accused of homosexuality have been convicted on charges such as debauchery, prostitution and violating public morals.