The sincere person is the one who performs the good deeds—be it praying, fasting, Hajj, Zakah, or reciting Qur’an—seeking the reward from Allah, and not for the sake of people praising and mentioning him. The one who is praying should be performing obedience for the sake of Allah only, not so that the people will say: “So and so prays, he does not miss any obligation.” Also the one who is fasting should be fasting for the sake of Allah only. The same applies to, the case of the one who is giving Zakah, sadaqah, reciting the Qur’an, or anyone who is performing a good deed.
The Prophet, sallallahu ^alayhi wa sallam, said:
إِنَّ اللهَ يُحِبُّ أَحَدَكُمْ إِذا عَمِلَ عَمَلاً أَنْ يُتْقِنَهُ، قِيلَ: وَمَا إِتْقَانُهُ يَا رَسُولَ الله؟ قَالَ: "يُخْلِصُهُ مِنَ الرِّيَاءِ وَالْبِدْعَة"
Innallaha yuhibbu ahadakum idha ^amila ^amalan ay yutqinah. Someone said: “Wa ma itqanuhu ya Rasulallah.” The Prophet said: “Yukhlisuhu minar-riya’i wal-bid^ah.”