It has been reported on the authority of Umar bin al Khataab (My Allaah be pleased with him) that The Messenger of Allaah (peace be upon him) said: "All actions are according to intentions, and for every man is only that which he has intended" (Bukhari & Muslim)