Question:
What is the ruling on an act of worship that has riya’ (showing off) mixed into it?
Answer:
الحمد لله، والصلاة والسلام علىٰ رسول الله، أما بعد!
When riya’ becomes mixed into an act of worship, there are three basic cases, and each has its own ruling:
1. The motive for the worship is riya’ itself
If the intention behind the worship is show and display from the very beginning, that is, a person worships only so that people will call him pious, a man of prayer or righteous, then such worship is considered invalid. It will bring no reward, because it was done without sincerity.
Example:
If a person prays only to show people that he is righteous, this is riya’ and his prayer is not accepted.
2. Riya’ arises during the worship
If a person began the worship with sincerity, but riya’ entered into it during the worship, there are two cases:
(a) The parts of the worship are separate
If the first part of the worship is regarded as separate from the part that follows it, then:
◈ The first part (with sincerity): is valid and accepted.
◈ The second part (with riya’): is invalid.
Example:
A person has one hundred riyals. He first gave fifty riyals in charity for the pleasure of Allah, then gave the remaining fifty riyals in charity to show people.
◈ The charity of the first fifty is accepted.
◈ The charity of the remaining fifty is invalid because riya’ entered into it.
(b) All parts of the worship are connected to each other
In this case there are two possibilities:
(1) He rejects the riya’
If the worshipper dislikes the riya’ and expels it from his heart, it will have no effect on the worship.
As the Prophet ﷺ said:
«إِنَّ اللّٰهَ تَجَاوَزَ عَنْ اُمَّتِی مَا حَدَّثَتْ بِهِ أَنْفُسُهَا مَا لَمْ تَعْمَلِْ أَوْ تَتَکَلَّمْ»
“Allah the Exalted has forgiven my Ummah for the whispers that come into their hearts, as long as they do not act upon them or speak them.”
(2) He is content with the riya’
If the worshipper accepts the riya’ and does not try to remove it, then all of the worship becomes invalid.
Example:
If a person begins the prayer with sincerity, but riya’ enters in the second rak’ah and he does not remove it, then since the whole prayer is a single unit, the whole prayer becomes invalid.
3. Riya’ arises after the worship is completed
If the worship is completed and riya’ comes after that, this riya’ does not affect the worship and the worship is considered valid. This is because the worship was completed at a time when it stood on sincerity.
Additional clarification: the difference between riya’ and natural joy
◈ Merely being happy that people know of his good deed or worship is not riya’, because this is a matter that comes after the worship.
◈ Being pleased with one’s good deed is also not riya’, rather it is a sign of faith.
As the Prophet ﷺ said:
«مَنْ سَرَّتْهُ حَسَنَتُهُ وَسَائَتْهُ سَيِّئَتُهُ فَذٰلِکُْ مُؤْمِنُ»
“Whoever is pleased by his good deed and distressed by his bad deed is a believer.”
He also said:
«تِلْکَ عَاجِلُ بُشْرَی الْمُؤْمِنِ»
“That is the immediate glad tidings for the believer.”
ھذا ما عندي والله أعلم بالصواب