Chastisement for one who enjoins good and forbids evil but acts otherwise

Imam Al-Nawawi’s Riyad-us-Saliheen
Chapter 24
Chastisement for one who enjoins good and forbids evil but acts otherwise

Allah, the Exalted, says:

“Enjoin you Al-Birr (piety and righteousness and every act of obedience to Allah) on the people and you forget (to practise it) yourselves, while you recite the Scripture [the Taurat (Torah)]! Have you then no sense?”. (2:44)

“O you who believe! Why do you say that which you do not do? Most hateful it is with Allah that you say that which you do not do”. (61:2,3)

“(Shu`aib said:) I wish not, in contradiction to you, to do that which I forbid you.” (11:88)

198. Usamah bin Zaid (May Allah bepleased with them) reported: Messenger of Allah (sallallaahu ’alayhi wa sallam) said, “A man will be brought on the Day of Resurrection and will be cast into Hell, and his intestines will pour forth and he will go round them as a donkey goes round a millstone. The inmates of Hell will gather round him and say: `What has happened to you, O so-and-so? Were you not enjoining us to do good and forbidding us to do evil?’ He will reply: `I was enjoining you to do good, but was not doing it myself; and I was forbidding you to do evil, but was doing it myself”.
[Al-Bukhari and Muslim].