Higher medreses provided education of university status, whose graduates became imams (امام) or teachers. Educational centers were often one of many buildings surrounding the courtyards of mosques, others included libraries, baths, soup kitchens, residences and hospitals for the benefit of the public.
The Sultan also played a role in protecting the Jewish subjects of his empire for centuries to come. In late 1553 or 1554, on the suggestion of his favorite doctor and dentist, the Spanish Jew Moses Hamon, the Sultan issued a firman (فرمان) formally denouncing blood libels against the Jews.[3]: 124 Furthermore, Suleiman enacted new criminal and police legislation, prescribing a set of fines for specific offenses, as well as reducing the instances requiring death or mutilation. In the area of taxation, taxes were levied on various goods and produce, including animals, mines, profits of trade, and import-export duties.
After eliminating duplications and choosing between contradictory statements, he issued a single legal code, all the while being careful not to violate the basic laws of Islam.[42]: 20 It was within this framework that Suleiman, supported by his Grand Mufti Ebussuud, sought to reform the legislation to adapt to a rapidly changing empire. When the Kanun laws attained their final form, the code of laws became known as the kanun‐i Osmani (قانون عثمانی), or the "Ottoman laws". Suleiman's legal code was to last more than three hundred years.
While Sultan Suleiman was known as "the Magnificent" in the West, he was always Kanuni Suleiman or "The Lawgiver" (قانونی) to his Ottoman subjects. The overriding law of the empire was the Shari'ah, or Sacred Law, which as the divine law of Islam was outside of the Sultan's powers to change. Yet an area of distinct law known as the Kanuns (قانون, canonical legislation) was dependent on Suleiman's will alone, covering areas such as criminal law, land tenure and taxation.[16]: 244 He collected all the judgments that had been issued by the nine Ottoman Sultans who preceded him.