Seek the knowledge for the sake of Allah
It was narrated from Jabir bin 'Abdullah , may Allah be pleased with him, that:
The Prophet, may the peace and blessings of Allah be upon him, said: "Do not seek knowledge in order to show off in front of the scholars, or to argue with the foolish, and do not choose the best seat in a gathering, due to it (i.e. the knowledge which you have learned) for whoever does that, the Fire, the Fire (awaits him)."
This commandment is for those who seek knowledge and spend their ages in seeking it, to seek it sincerely for the sake of Allah, and to adhere to piety for it is the way to open the doors of knowledge.
Sincerity is the base for getting the deed accepted, piety is the combination of all virtues, one will not reach the useful knowledge in the world and the Hereafter, except with seeking the satisfaction of Allah, and sticking to obedience and submissiveness to Allah in whose hands are the keys of knowledge.
Knowledge is the highest demand to be sought by the believer; because it is the key to faith and certitude, there is no faith without knowledge, and certitude happens only after faith.
Whoever likes that Allah opens the doors of knowledge to him, shall seek the knowledge for the sake of Allah, from Allah and while seeking the aid of Allah.
This requires the seeker of knowledge to strip himself of the self inclination, pride, nervousness and the fanaticism, and the desire to seek leadership, sovereignty and high status in this world.
Therefore, the Prophet ( may the peace and blessings of Allah be upon him ) recommended that the knowledge seeker have to distract himself from the desire to show off before the scholars if the doors of knowledge were opened to him. Such an ostentation cuts the relationship between the slave and his Lord because the proud one has no share in the satisfaction of Allah.
Showing off the scholars is a kind of sterile debate. please note that all the debate is blameworthy except by the way which is the best.
The ignorant is the fool who falsely claims that he has the knowledge that did not reach the others.
It is one of the greatest calamities when the scholar argue with a foolish with the intention of overcoming him, which is far from the stars of the sky.
As well it is one of the greatest calamities when a scholar seeks with his knowledge the satisfaction of the chiefs, surely he would be despised by all people even the foolish. Knowledge without sincerity and piety is more harmful than ignorance.
The last part of this commandment is a severe threat for those who did so, since this act is far from sincerity and piety because its origin is the pride, arrogance, hypocrisy, ostentation and other deadly diseases.