This is among the most frightening of the sacred hadith. The first three brought to judgement are people of enormous deeds: one who learned and taught the Qur'an, one who gave wealth in abundance, and one who fought and was killed. Each is asked what he did, each answers truthfully, and each is told: you lied, you did it so that people would call you a reciter, a giver, a brave one, and they did. Then each is dragged to the Fire.
Where this hadith comes from
This is a hadith qudsi: the Prophet (peace be upon him) tells us what Allah Himself will say on the Day of Resurrection, though the wording is the Prophet's and it is not part of the Qur'an. It was narrated by Abu Hurayrah (may Allah be pleased with him) and recorded by Muslim, and it is graded sahih.
It stays squarely in the realm of the heart, the disease of riya (showing off) and the cure of sincerity. It does not rule on the outward validity of anyone's prayer, charity, or jihad in this world; it speaks to the inner intention that Allah alone weighs, and to the warning that even our greatest deeds are judged by the One we did them for.
The key words
What it means, line by line
Three men are brought first, and they are not small sinners but people of the most admired deeds: one killed in battle, one who learned the Qur'an and taught it, one whom Allah enriched and who gave from every kind of wealth. To each, Allah first makes His favours known, and each recognises them, then He asks, 'And what did you do with them?' Each answers with something outwardly magnificent: I fought for You, I learned and taught and recited for You, I spent in every cause You love.
To each comes the same crushing reply: 'You have lied. You did it so that it would be said, He is brave, He is a scholar, He is a reciter, He is open-handed. And so it was said.' Their reward was the praise of people, and they were paid it in full in this world; nothing of it remained for the next. Then each is dragged on his face into the Fire. The deed was real, but the heart behind it sought creation instead of the Creator, and so the deed itself was overturned.
The Qur'an names this exact exchange. Allah says of the one whose aim was this world that We pay him here in full, then in the Hereafter there is nothing left for him but the Fire, and all he worked is rendered void, the same fate as these three.
Great deeds, hollow hearts
What terrifies in this hadith is the size of the deeds. Not small sins, but the very acts we most admire, knowledge, generosity, sacrifice, undone from the inside because they were done for the applause. The lesson is severe: a magnificent deed with a corrupt intention is not a smaller good; it is a ruin. The bigger the deed, the more dangerous the hidden wish to be seen.
Let it make you check, not despair
This hadith is not meant to paralyse you with fear of every good deed; it is meant to send you back, again and again, to purify the intention. The same act, done sincerely, is exactly what these three could have brought as their salvation. So do the great deeds, but guard the heart behind them. Ask 'for whom' before, during, and after, and keep some of your best worship hidden where only Allah can see it.
Carry this with you
The bigger the deed, the more carefully guard the heart behind it.
Great deeds can be hollow.
Knowledge, charity, sacrifice, all ruined if done for people's praise rather than for Allah.
A corrupt intention is a ruin, not a discount.
Showing off does not earn less reward; it overturns the deed entirely.
Keep checking 'for whom?'
Renew sincerity before, during, and after. The wish to be seen creeps back in.
Hide your best.
Keep some of your finest worship secret, where only Allah sees it, to keep the heart honest.
A du'a to carry
ٱهْدِنَا ٱلصِّرَٰطَ ٱلْمُسْتَقِيمَ صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ ٱلْمَغْضُوبِ عَلَيْهِمْ وَلَا ٱلضَّآلِّينَ
Ihdina as-sirata l-mustaqim, sirata lladhina an'amta 'alayhim, ghayri l-maghdubi 'alayhim wa la d-dallin
Guide us to the straight path, the path of those upon whom You have bestowed favor, not of those who have earned Your anger or of those who are astray. (Al-Fatihah 1:6-7)
A du'a for a sincere heart
The most admired people in the eyes of others stood first at the judgement, and fell, because the One they should have worked for was not the one they were working for.
O Allah, save us from doing for others what we should do for You. Purify the hearts behind our deeds, accept our worship for Your face alone, and guide us to the straight path of those You favour. Ameen.
The hadith qudsi is from sunnah.com: 'The first of people against whom judgment will be pronounced...' narrated by Abu Hurayrah (ra), recorded by Muslim, graded sahih. The supporting Qur'an (1:6-7) is in Uthmani script verified via quran.ai (ar-uthmani-minimal) with the Saheeh International translation. Per the editorial policy this stays with the spiritual meaning (sincerity vs riya). FOR SCHOLAR REVIEW before publication.