Having good character and performing good deeds is very important in religion Islam that every Muslim must perform for pleasing Almighty Allah. Allah says in Holy Quran about righteous deeds:
“Whoever works righteousness whether male or female while he (or she) is a true believer (of Islamic Monotheism) verily, to him We will give a good life (in this world with respect, contentment, and lawful provision), and We shall pay them certainly a reward in proportion to the best of what they used to do (i.e. Paradise in the Hereafter)” (Quran, 16:97)
From above verse, we can say that when we perform good deeds for the sake of Almighty Allah then we will get Paradise as a reward. Therefore, the committing of good deeds actually stands for a person making his or her life better and it also helps Muslims to become closer to Allah.
Islam is the religion of society it expects from its followers to develop a society where every individual work towards helping and taking care of each other and where everyone should do good deeds for the sake of Allah Almighty.
Islam has given the instructions those have the objective that people could change their lives for better and continue living it in a better manner.Doing a deed and doing the deed with good intention are separate things.
The intention that doing this deed will reward a Muslim with virtues and help to attain the mercy of Allah in this world and afterward then this surely is a base that Allah will accept the deed and will reward accordingly.
Holy Prophet (SAW) said about the intention of good deeds in a way: “The reward of deeds depends upon the intentions and every person will get the reward according to what he has intended.” (Sahih Bukhari)
So, a person who wants to get reward and blessings from Almighty Allah should perform good deeds with good intention.