All perfect praise be to Allaah, The Lord of the worlds. I testify that there is none worthy of worship except Allaah and that Muhammad is His slave and Messenger.
If that man commits this heinous deed, then it becomes obligatory on those in charge of the matters of the Muslims to stop him from teaching women as a way of repelling his evil from them. Also, you should continue to advise him in a wise manner with kind words and remind him of Allaah with evidence from the Quran and Sunnah about the danger of the corruption of the scholar or person who gives da'wah and the seriousness of his actions contradicting his words; as in the saying of Allaah (which means): {O you who have believed, why do you say what you do not do? Great is hatred in the sight of Allaah that you say what you do not do.} [Quran 61:2-3]
If he persists in what he is doing, then you can threaten to expose him to the community, hoping that this will deter him. If he is not deterred and does not take heed, then it is permissible to warn people against him; rather, this may be an obligation sometimes. Scholars stated that backbiting is permissible in warning people against dissolute and immoral people.
For more benefit in this regard, please refer to fataawa 85442 and 89115.
Allaah knows best.