ولو ذبح شاة بسكين مغصوبة يكون حرامًا ويحل المذبوح
If a sheep is slaughtered with a wrongfully taken knife, the taking or use is unlawful; the slaughtered animal may nevertheless be lawful if slaughter conditions are met.
ولو غسل الثوب النجس بماء مغصوب يكون حرامًا ويطهر به الثوب
Washing an impure garment with wrongfully taken water is unlawful as a use of another's property, but the removal of impurity can still take effect.
In both cases, the wrongfulness of the means is distinct from the legal and practical effect of the action.