score:7
According to this article, there are letters to and from a mosque in Constantinople in the 10th century. with speculation it was built for merchants from Muslim countries, as well as for dignitaries, in times of peace between Muslim middle east and christian Byzantine.