It differs from the 3 other schools of law mainly on the sources it uses for derivation of rulings. While all 4 schools use primarily the Quran as a source, followed by the sunnah of the prophet Muhammad transmitted as hadith (sayings), consensus of the scholars or Muslims (ijma) and analogy (qiyas). The Maliki school also uses the practice of the people of Medina (amal ahl al-medina) as a source. This accordinging to Imam Malik sometimes supersedes hadith, because the practice of the people of Medina was seen as the 'living sunna' since the Prophet migrated there, lived there and died there, and most of his companions lived there during his life and after his death.