The mosque forms the centerpiece of a külliye that includes a madrasa, hospital, soup kitchen, primary school and bathhouse, reflecting the Ottoman tradition of social welfare complexes