Arabic hadith text
حَدَّثَنَا أَبُو نُعَيْمٍ، قَالَ‏:‏ حَدَّثَنَا يُونُسُ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ‏:‏ قَالَ رَجُلٌ‏:‏ أَصْلَحَ اللَّهُ الأَمِيرَ، إِنَّ آذِنَكَ يَعْرِفُ رِجَالاً فَيُؤْثِرُهُمْ بِالإِذْنِ، قَالَ‏:‏ عَذَرَهُ اللَّهُ، إِنَّ الْمَعْرِفَةَ لَتَنْفَعُ عِنْدَ الْكَلْبِ الْعَقُورِ، وَعِنْدَ الْجَمَلِ الصَّؤُولِ‏.‏
Translation

Al-Mughira ibn Shu'ba reported that a man said, "May Allah makethe amir thrive! Your chamberlain recognises certain men and gives thempreference in permission to enter." He said, "May Allah excuse him! Recognition is beneficial (dealing) with a vicious dog and attacking camel."