The Quran set the rights, the responsibilities and the rules for people and for societies to adhere to, like not dealing in interest. Muhammad then provided an example, which is recorded in the hadith books, showing people how he practically implemented these rules in a society. After the passing of Muhammad, there was a need for jurists, to decide on new legal matters where there is no such ruling in the Quran or the Hadith, example of Islamic prophet Muhammad regarding a similar case.