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

Abu Hurayra said, "I heard Abu'l-Qasim say, 'The best of you inIslam is the best of you in character when they possess understanding (ofthe deen)."