Intention is the measure for rendering actions true, so that,
-Al-Nawawi
Glorious God stated: "Whosoever shows enmity to someone devoted to Me, I shall be at war with him, etc."