Actions Are Judged by Intentions.إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ، وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَىActions are but by intention, and every man shall have only that which he intended."Islam ChatReference:Sahih al-Bukhari