De Hagia Sophia of Ayasofya is een voormalige christelijke, orthodoxe kathedraal, die tegenwoordig als moskee in gebruik is, in de Turkse stad Istanbul.