Hazrat Abdullah bin Mas`ood (Radiyallahu Anhu) is reported to have said, “Indeed a person forgets the `ilm (knowledge) he has learnt due to some sin he is commiting”.