A Hadith states that actions are but by intentions. What happens when a person makes a verbal intention to do something for a particular purpose but deep at heart he has some other idea?

The Hadith in full says: “Actions are but by intentions; and everyone shall have what he has intended. Whoever immigrates for the sake of God and His Messenger, peace be upon him, will be rewarded accordingly; and whoever immigrates in the hope of achieving some worldly purpose or to marry a particular woman, then his immigration is counted for that purpose only.”

The meaning of the Hadith is very clear. It is the intention that determines the value of an action, and God’s reward takes intention into account. All good actions must be dedicated purely to God in order to earn maximum reward. In the early years of the Islamic state in Madinah, immigration was one of the most important acts a Muslim did, because he would be leaving his homeland, family and clan in order to join the Muslim community. Hence, the Prophet, peace be upon him, cites this action to say that even immigration would count for nothing unless it is done purely for God’s sake, in support of His cause.

Someone at that time immigrated to Madinah, but he said at the time that he hoped to marry a certain woman. Although his action is the same as that of the Prophet, peace be upon him, and his companions, in the sense that they all left their own homeland and settled in Madinah, their intentions were different. When that man married the woman he sought, he got all he wanted. God would not reward ‘his immigration’, even though he later became a good fighter for Islam.