Islamic Shariáh or the divine law of Islam is derived mainly from the following two primary sources:
The Holy Quran
The Sunnah of the Holy Prophet (Peace Be Upon Him)
And in the absence of absolute proofs from the above primary sources, Shariáh ruling is derived from the following secondary sources as well:
Ijma' (consensus of the scholars)
Qiyas (analogy)
Istihsan (juristic preference)
Maslahah Mursalah (unrestricted public interest)
‘Urf (recurring practices acceptable to people of sound nature)
Istishab (presumption of existence or non- existence of facts
Sadd Al-Dhara’i’ (blocking the means lead to evil)
Fatwa of Sahabah (opinion of the Companions of The Prophet, Peace be upon Him)