The Prophet (SAWA) said, ‘If you perform an action, do it sincerely for the sake of Allah because He only accepts from His servants those actions that have been performed sincerely.
رسولُ اللهِ (صَلَّيَ اللهُ عَلَيهِ وَ آلِهِ) : إذا عَمِلْتَ عَمَلاً فاعْمَلْ للّهِ خالِصاً ؛ لأنَّهُ لا يَقْبَلُ مِن عِبادِهِ الأعْمالَ إلّا ما كانَ خالِصاً.
Similar narrations
Ghurar al-Ḥikam #2733Imam Ali (AS) said, Be sincere when you perform an action [and do it only for the pleasure of Allah].