sincerity has been interpreted as being upright, sincere, truthful, pure, distant from show and ostentation in one's intention and conduct, and being closed to the things that cloud or foul one's heart. purity of intention, straightforwardness in thoughts, not pursuing any worldly purposes in relations with allaah, and loyalty in servitude to him are also included in the meaning of sincerity.
the muslim believes in the great importance of intention and its importance for the remainder of his deeds, both of this world and the hereafter. this is because all deeds are based on intention. depending on the intention, the deed is either valid or void.
this belief in the necessity of having an intention for every deed, and the obligation to make the intention proper, is based on allaah's words (which mean): "and they were not commanded except to worship allaah (being) sincere to him in religion, inclining to truth, and to establish prayer and to give zakah (poor due). and that is the correct religion."[quran 98:5]
allaah also said (what means): "say (o muhammad): 'indeed, i have been commanded to worship allaah (being) sincere to him in religion.'" [quran 39:11]
this belief is also based on the words of allaah's messenger : "verily, all actions are but driven by intention and for everyone is what he intended."[al-bukhaari and muslim]
allaah's messenger also said: "certainly, allaah does not look at your shapes (appearance) or wealth. but he only looks at your hearts and deeds."[al-bukhaari and muslim]
the one who has a sincere intention is rewarded for a good deed and the one who has an evil intention will bear its burden, just like the one who did a sinful deed. all of that is due to intention alone.
at the battle of tabook, allaah's messenger said: "there are people concerning whom you do not travel any distance, nor do you spend anything, nor do you pass any valley but they are with you in that matter." the people said, "how is that?" he said, "they have been restrained due to some excuse, but they are with us because of the good intention."[al-bukhaari and abu daawood]
sincere intention is what makes the non-combatant equal in reward to the combatant. it is what makes the non-mujahid receive a reward like that of a mujahid (one who fights for the sake of allaah).
allaah's messenger has also said: "if two muslims meet each other with their swords, then both the killer and the killed will be in the hell-fire." someone said, "o allaah's messenger, that is the case for the killer but why should that be the case for the killed?" he answered, "because he wanted to kill his companion."[al-bukhaari and muslim]
all of the above emphasize what a muslim believes concerning the seriousness of intention and its extreme importance. a muslim should base all of his deeds upon a pious intention. he also strives his best not to perform any deed without an intention or with an impure intention. the intention is the soul of the deed and what determines its value. the deed is sound if the intention is sound and the deed is wicked if the intention is wicked. the one who performs deeds without good intention is doing so out of disdainful show and pretence.
furthermore, a muslim believes that intention is an essential component for the acceptance of deeds, and a condition for the validity of the deed. he also knows that the intention is not simply a statement of the tongue, "o allaah, i intended such and such…" nor is it simply a thought in the mind.
instead, it is the driving force in the heart towards performing a deed that is in accordance with a sound goal -- of bringing benefit or repelling harm, at present or in the future. the will also directs a person to perform a deed for the sake of allaah and to fulfill his commands.
a muslim, therefore, also believes that a permissible act may become an act of obedience, worthy of reward and recompense. at the same time, an act of worship, if it is done for the sake of other than allaah (void of a pious intention), then it becomes an act of disobedience worthy of punishment and burden. a muslim also does not believe that an act of disobedience can be changed into an act of obedience simply due to a good intention.
for example, the one who backbites a person just to make another person feel better, has disobeyed allaah and has committed a sin. his "good intention" will not benefit him at all in consideration with allaah. similarly, the one who builds a mosque with money from prohibited sources will not be rewarded. one who attends singing and dancing parties or who purchases raffle tickets to support good purposes or for the sake of jihad, is a sinner and will bear the burden of his sin, instead of being rewarded for what he has done.
similarly, anyone who builds a dome over the grave of a pious person, slaughters an animal on his behalf or makes an oath on his behalf, all in the name of having love for pious people, is disobeying allaah and earning a sin for what he has done.
these previously mentioned deeds are sins, even if it was done with a pious intention. a deed is not transformed by a pious intention into an act of obedience unless it was something permissible in the sharee'ah (islamic law) in the first place. as for a forbidden act, it never becomes an act of obedience under any circumstances.
finally, sincerity in intention is a matter between man and his creator; nobody else can know the real intentions of people except allaah. a man who attains sincerity in intention does not consider whether others will praise, accuse or exalt or abase him, be aware of his deeds or not, or whether he will even gain reward or not in return for his deeds. he considers only the pleasure of allaah who “…knows the secret and what is (even) more hidden.” [quran 20:7]