to compensate , further details on the teachings and laws of the quran are derived from the sunna , the example set by muhammads life , and in particular from hadith , the body of sayings and practices directly attributed to him .