There are two types of edicts (Hukm or Ahkaam)
1) Hukm tashree’ee classfied into fard, waajib, sunnah, mubah, makrooh tanzihi, makrooh tahreemi, haraam. These kinds of orders have impact on our religion and our relation with Allah.
2. Hukm a irshaadi – wordly benefits to us (shariyat helps us) eg. Prophet said, “turn off lamp at night”. This has a practical benefit to us. No sin if one does not do it. Another example is – clean bedding before sleeping.