Rows of pointed arches frame the open courtyard of this ninth-century mosque. Its builders drew on the mosques of Samarra, then the Abbasid capital in what is now Iraq.