With regards to the stand of sharia on enjoining people to abstain from something one is doing, Dr. Jamal Badawi, Professor of Religious Studies stated:

“There are warnings in the Qur’an and the Hadith against enjoining what is good without trying to practice what we teach. This does not mean however that we must abstain from enjoining what is good until we are perfect, or to abstain from evil until we are free from any wrongdoing. This is humanly impossible. But what we understand from these texts is:

Firstly, to try to purify our intentions as much as we can humanly do.

Secondly, to exert special efforts to fulfill our minimum mandatory duties and to abstain from the strictly forbidden such as murder, zina and intoxicants.

Thirdly, to try our best to go beyond the mandatory duties such as Sunnah and avoid as much as possible falling or committing detestable acts (Makruh).

Fourthly, if we have this intention and we are exerting as much effort as we can, there is no harm of enjoining the good and discouraging the wrong even if we occasionally fail to live up to the desired standards. After all if we wait to be perfect, no one will advise anybody or discourage wrongdoing; we are all imperfect humans.

When some companions say they used to read a few verses of the Qur’an and stop until they apply them, this should not be taken literally. There are also many narrations, even Hadiths about the desirability to read and reflect upon the entire Qur’an within one month. The idea is to underline the importance of implementing the Qur’an and not reading just for the sake of reading.”