Six gay men in Cote d'Ivoire were abused and forced to flee their homes after they were pictured signing a condolence book for victims of the recent attack on a gay nightclub in Florida, a rights group said on Wednesday.

The U.S. Embassy in Abidjan hosted an event a fortnight ago to honor the Florida victims and published a photo of the six men on its website with the caption: "LGBTI community signing the condolence book."

A gunman pledging allegiance to the Islamic State militant group killed 49 people at Orlando's Pulse nightclub on June 12 in the deadliest single-perpetrator mass shooting in modern U.S. history.