And if all good deeds must include two things:
That they are intended for the sake of Allah,
And that they are in accordance with the Sharia,
This applies to words and actions,
In good speech and righteous acts,
In matters of knowledge and devotional acts,
And this is why it was affirmed in the authentic narration from the Prophet ﷺ:
"The first three for whom Hell will be kindled are:
A man who learned knowledge, taught it, and recited the Quran, but did so for people's praise, saying: He is a scholar and a reciter,
And a man who fought and struggled for people to say: He is brave and bold,
And a man who gave charity and donated for people to say: He is generous and charitable,"
For these three who seek show and reputation are the counterparts of the three who come after the prophets: the truthful, the martyrs, and the righteous.
For whoever learns the knowledge sent by God through His messengers and teaches it for the sake of God is a sincere one,
And whoever fights so that the word of God is supreme and is killed is a martyr,
And whoever gives charity seeking thereby the pleasure of God is righteous.



