The curriculum of a madrasah was usually set by its founder, but most generally taught both the religious sciences and the physical sciences.