In many Islamic countries sodomy is against the law and carries a possible punishment ranging from fines to death. It is not acceptable to exhibit same-sex behavior in public and it is often a jailable offense to participate in a demonstration for equal rights. Although it is possible such behavior would be overlooked if not done in protest and kept behind closed doors the Islam does not accept same-sex behavior.
It is certainly against the teachings of Islam for a couple of the same sex to be married. The Koran teaches that a marriage is to be between a man and a woman only. Therefore, two men or two women marrying would not be accepted by people of Islamic faith.