Quran, Sunnah, consensus and inference are distinct ways of establishing a cause.

Applying Validity Conditions and Identifying Causes in Legal Analogy