Imam has undertaken very useful conditions in this regard in his famous book of " Forty Hadith" as following:
It converts your heart into a Unitarian and the one filled with the praise of the Lord.
But why did it make your heart a place of your own glorification? Why has it added unnecessary colors to it, and accumulated trappings and accretions that deter you from obtaining nearness to God Almighty and from beholding the effulgent glory of His Names? Why, it has made your heart an abode of Satan and so you look down on the servants of God and His chosen, the signs and reflections of His Glory and Splendor! Woe unto you for your wretchedness, O ‘arif, whose condition is worse than of anybody else, and all the doors of defense and pretext are sealed upon him! You are proud towards God and have assumed a Pharaonic arrogance towards His Names, Attributes, and all the manifestations of His Essence. O amateurish student of concepts who has gone astray of the realities! Deliberate over the matter for a while, and think as to what knowledge you possess of God.
What impact has the knowledge of God and His Attributes made on your self? Perhaps the study of music and musical rhythms may be more exact and precise than your knowledge. Astronomy, mechanics, other physical sciences, and mathematics can match your learning as to the precision of their terminology. Yet in the same way as they are not concerned with the knowledge of God, your knowledge also is a thick curtain consisting of the veils of words, terms, and concepts. They can neither make one ecstatic nor send anyone into a trance.
Rather, in the eyes of the Shari’ah, the physical sciences and mathematics are better than your knowledge, since they produce some result, whereas your knowledge not only gives no good results, but gives opposite ones. An engineer draws results from his calculations, and a goldsmith is benefited from his craftsmanship; but your knowledge, apart from not gaining any material benefits, has failed to fulfill any transcendental ends as well.
Rather, the veil before your eyes is so thick that when you try to picture the Unity of the Divine Being a world of utter darkness fills your imagination, and when His Names and Attributes are mentioned an infinite plurality is pictured by your mind. Therefore, these terms did not lead you to the path of Truth, but on the contrary they have become a source of pride and arrogance towards the righteous scholars, Imam further explains.
A knowledge, which darkens the heart and increases it in its blindness is not knowledge. A learning, which ultimately makes its possessor an heir of the Devil, woe unto such learning! Kibr is the property of Satan’s nature. He was arrogant to your father, Adam, and was expelled from the Almighty’s court. You who are arrogant towards all human beings and all the sons of Adam are also worthy of banishment. From this you can infer the plight of the scholars of other sciences also.
A Hakim, a man of wisdom, if he is a real sage, having comprehended the relationship between God Almighty and His creatures and himself, the sense of superiority remains no more in his heart. But the unfortunate seeker of terminology and terms has mistaken them for hikmah (wisdom) and ‘ilm (knowledge) and imagines himself to be an ‘alim and Hakim. He even associates himself with the Attributes of the Necessary Being and says that hikmah is one of the Attributes of God Almighty’.
Read more:
Imam Khomeini stressed need for purification of inner self