reports and deeds. Then, upon learning the details, he either believes and obeys, thus becoming one of those who believe and do righteous deeds, or acts otherwise, becoming a hypocrite, a sinful transgressor, or something else.
This makes clear to you that there are three categories:
A man intends to worship and obey Allah but does not intend the specific deed commanded. For example, a man possesses wealth from which he gives to those who ask and those in need, seeking thereby the Face of Allah, without giving any thought to zakat, expiation, or distributing it among all eight categories rather than only some of them. He is rewarded for what he does for Allah, glorified be He, but the obligatory duties remain incumbent upon him.
Another man may intend the specific deed without intending to obey and worship Allah. For example, he pays the zakat on his wealth to the ruler lest the ruler behead him, diminish his standing, or seize his wealth; or he stands to pray out of fear for his life, wealth, or honour. This is the general condition of the hypocrites, and the condition of those who show off in particular deeds.
As Allah Most High says:
“When they stand for prayer, they stand lazily, showing off before people.”
And He says:
“So woe to those who pray,
who are heedless of their prayer,
who show off,
and withhold even small kindnesses.”
And Allah Most High says:
“They come to prayer only lazily and spend only reluctantly.”
The third category is one who intends to perform the particular deed he has been commanded to perform