An analogy requires checking whether the shared feature is relevant to the ruling.

Induction and Analogy — Istiqra and Tamthil