Anas bin Malik reported,

The Messenger of Allah ﷺ said, "On the night of my ascent, I passed by a people whose lips were being clipped with shears of fire."I asked, "Who are these?"They replied, "Preachers from among the people of the world who used to command others to do good while forgetting themselves, even as they recited the Book. Did they not reason?"

Azami 1308

Sahih

عن أنس بن مالك قال

قال رسول الله ﷺ: مررت ليلة أسري بي على قوم تقرض شفاههم بمقاريض من نار، قال: قلت: من هؤلاء؟ قالوا: خطباء من أهل الدنيا ممن كانوا يأمرون الناس بالبر، وينسون أنفسهم وهم يتلون الكتاب، أفلا تعقلون.

الأعظمي 1308صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Knowledge
Chapter
Warnings in matters of knowledge
Section
Warning for the scholar who does not act upon his knowledge, even if others benefit from his knowledge
Numbering
Jami al-Kamil 1308 (2nd edition)
Azami 1308