Sunan al-Darimi 308
أَخْبَرَنَا بِشْرُ بْنُ الْحَكَمِ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ عَبْدِ الصَّمَدِ الْعَمِّيُّ، حَدَّثَنَا أَبُو عِمْرَانَ الْجَوْنِيُّ، عَنْ هَرِمِ بْنِ حَيَّانَ، أَنَّهُ قَالَ: «إِيَّاكُمْ وَالْعَالِمَ الْفَاسِقَ»، فَبَلَغَ عُمَرَ بْنَ الْخَطَّابِ ﵁ - فَكَتَبَ إِلَيْهِ - وَأَشْفَقَ مِنْهَا - مَا الْعَالِمُ الْفَاسِقُ؟ قَالَ: فَكَتَبَ إِلَيْهِ هَرِمٌ: يَا أَمِيرَ الْمُؤْمِنِينَ، وَاللَّهِ مَا أَرَدْتُ بِهِ إِلَّا الْخَيْرَ: يَكُونُ إِمَامٌ يَتَكَلَّمُ بِالْعِلْمِ، وَيَعْمَلُ بِالْفِسْقِ، فَيُشَبِّهُ عَلَى النَّاسِ فَيَضِلُّوا
Bishr ibn al-Hakam informed us; he said: ʿAbd al-ʿAziz ibn ʿAbd as-Samad al-ʿAmmi narrated to us; he said: Abu ʿImran al-Jawni narrated to us, from Harim ibn Hayyan, that he said: "Beware of the sinful scholar." This reached ʿUmar ibn al-Khattab, may Allah be pleased with him, and he wrote to him — being worried about it: "What is the sinful scholar?" He said: Harim wrote to him: "O Commander of the Believers, by Allah, I intended nothing but good by it: there will be a leader who speaks with knowledge and acts with sinfulness, so he confuses people and they go astray."