Once a man came to Ibn ‘Abaas Radiyallahu ‘Anh and said to him: Ya ibn ‘Abaas, I wish to enjoin whats good (alma’ruuf) and forbid the evilness (almunkar). He (ibn ‘Abaas) asked: have you reached this state?. He (the man) answered: I wish to. Then Ibn ‘Abaas said: “If you do not fear to be exposed by three ayaat (verses) from the Book of Allāh then do so.” He (the man) said: and which are they?. Ibn ‘Abaas replied:
The saying of Him Ta’ala:
Do you Enjoin Al-Birr (piety and righteousness and each and every act of obedience to Allâh) on the people and you forget (to practise it) yourselves”
(Suratu Al-Baqarah:44)
So Ibn ‘Abaas continued: the second is the saying of Him Ta’ala
كَبُرَ مَقْتًا عِنْدَ اللَّهِ أَنْ تَقُولُوا مَا لَا تَفْعَلُونَ
O you who believe! Why do you say that which you do not do?
Most hateful it is with Allâh that you say that which you do not do
(Suratu Assaf: 2-3)
Then ibn ‘Abaas recited the saying of the righteous slave Saleh ‘Alayhi Assalam:
I wish not, in contradiction to you, to do that which I forbid you. I only desire reform to the best of my power.
(Suratu Huud: 88)
…will these three ayaat testify against or for you on The Day of Judgement?
Ad-Dahhaak Narrated this from Ibn ‘Abaas, see the explanation of the ayah 44 in suratul Baqarah. Tafseer Ibn Katheer Rahimahullah