The author (may Allah shower blessings on him) narrated this from the Leader of the Faithful, Umar bin Al-Khattab (may Allah be pleased with him), via Abdullah bin Utbah bin Mas'ood (may Allah
be pleased with him), the nephew of Abdullah bin Mas'ood (may Allah be pleased with him), the noble companion of the Messenger of Allah ﷺ. Umar stated that they would know about whoever conceals any evil secret during the period of Revelation through whatever was revealed. This was because there were hypocrites among the populace during the time of the Messenger of Allah ﷺ; those who would display good but conceal evil. But Allah – the Mighty and Sublime – used to expose them by way of revelation to His Messenger ﷺ. He would uncover them by laying bare their characteristics, which are their specifics, not their names.
The wisdom behind this method is to serve as a general warning for each person who possesses similar traits. Allah – the Mighty and Sublime – has said:
“And of them are some who made a covenant with Allah (saying): “If He bestowed on us of His Bounty, we will verily, give Sadaqâh (Zakat and voluntary charity in Allah’s Cause) and will be certainly among those who are righteous.”
Then when He gave them of His Bounty, they became niggardly [refused to pay the Sadaqâh (Zakat or voluntary charity)], and turned away, averse.
So He punished them by putting hypocrisy into their hearts till the Day whereon they shall meet Him, because they broke that (covenant with Allah) which they had promised Him and because they used to tell lies.” [Taubah: 75-77].
Likewise, His statement – the Mighty and Sublime:
“And of them are some who accuse you (O Muhammad) in the matter of (the distribution of) the alms. If they are given part thereof, they are pleased, but if they are not given thereof, behold! They are enraged!” [Taubah: 58].
And His words – the Mighty and Sublime:
“Those who defame such of the believers who give charity (in Allah’s Cause) voluntarily, and those who could not find to give charity (in Allah’s Cause) except what is available to them, so they mock at them (believers), Allah will throw back their mockery on them, and they shall have a painful torment.” [Taubah: 79].
Soorah Taubah, which some scholars refer to as the Chapter of Exposure for it exposed the hypocrites, is replete with similar verses.
However, when the Revelation came to an end, people could no longer identify the hypocrites because hypocrisy resides in the heart, we seek refuge with Allah.
Umar said (may Allah be pleased with him): ‘Whoever displays good to us, we shall take him for that, even if he had concealed evil; but whoever displays evil to us, we shall take him for that even if he hides some good deeds. For we have not been asked to consider except what is apparent’. This is one of the Bounties of Allah on us, that we can only be judged by our apparent deeds. Indeed, it is hard to build a judgement on the hidden, and Allah – the Mighty and Sublime - has not burden a soul beyond its scope.
So whoever shows good, we will relate with him based on that, and whoever displays evil, we will relate with him based on the evil which he has displayed to us. We would not judge his intention; rather, its accountability lies with Allah, the Lord of the worlds, who knows everything that goes on in the human heart.