More than 500 imams in landmark gay marriage protest