A general covenant has been taken from us by Allah’s Messenger (Allah bless him and grant him peace) that if we do not put to practice our knowledge, we should teach it to one who would practice it among the muslims even though this may not cover up our shortcomings completely. For indeed there are amongst people, thoose who are given knowledge but not practice, those who are given both knowledge and practice and those who are given neither amongst the common folk.
I heard our Master ‘Ali Al-Khawwas rahimahuLlahu ta’ala said, “It is incumbent upon each person who does not put to practice his knowledge to teach it to people and to one who there is hope in him practicing it.
I also heard him say, there is no learned person except that he practices his knowledge in one of many ways as long as his intellect is sound. That is if he does the commandments of the shari’ah and stays away from the prohibitions, he has indeed practiced his knowledge if Allah grants him sincerity in it. If he does not do this then he knows by knowledge that he has gone against the commands of Allah which he regrets and repents (this regret and repentance) is itself from practicing one’s knowledge.
If not for knowledge he would not have been guided to the fact that abandoning acting upon knowledge is a form of disobedience. As such, knowledge is of benefit in all situations and the punishment of one who does not practice his knowledge is considered to refer to those who do not repent from his sins.
In summary, not falling into sin is not a condition for one to be a person who practices his knowledge even though this is that which might immediately occur to the mind…. The only condition is the absence of his persistence in sin or the absence of his persisntence in the persistence.