Should a deed that was initially intended as a display of religiosity be rejected, even if the intention became sincere in its completion, knowing that its completion depends on what preceded it, or is it considered minor shirk?
Allah condemned showing off (riya') in the Qur’an and the Sunnah, and informed us that He is the most independent of partners, so whoever associates another with Him in an act, He abandons that act and their partnership. And whoever performs an act seeking reward and renown thereby, gets nothing. Allah accepts only deeds done purely for His sake.
If a servant repents from showing off with sincere repentance, it is hoped that his repentance will be accepted. However, the act that was accompanied by showing off does not become righteous; rather, repentance confines itself to its punishment. So if the act was not for Allah, it does not become righteous through repentance; rather, repentance removes its punishment, making it neither for nor against him. However, if he performed it purely for Allah, then was afflicted by conceit and showing off, and then repented and regretted, the reward for his act may or may not return to him.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/153211