The first Friday prayer was held here in 972, in the new Fatimid capital. Lessons in theology at the mosque grew into Al-Azhar University.