Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:13777[Chain 1] Abū Muḥammad ʿAbdullāh b. Yūsuf > Abū Saʿīd b. al-Aʿrābī > ʿAlī b. ʿAbd al-ʿAzīz > al-Qaʿnabī [Chain 2] Abū ʿAbdullāh al-Ḥāfiẓ > ʿAlī b. Ḥamshādh > Ismāʿīl b. Isḥāq al-Qāḍī > ʿAbdullāh b. Maslamah [Chain 3] And ʾNbʾ Aḥmad b. Salmān al-Faqīh > Quriʾ > ʿAbd al-Malik b. Muḥammad Wahū Ibn ʿAbdullāh al-Raqāshī from my father > Muslim b. Khālid > al-ʿAlāʾ from his father > Abū Hurayrah ؓ

[Machine] The Messenger of Allah ﷺ said, "The nobility of a person lies in their religion, their integrity lies in their intellect, and their estimation lies in their character." This narration is ascribed to Imam Abu Abdullah and is not found in the narration of Ibn Yousuf, but a similar narration regarding the integrity lying in the intellect is reported from Umar ibn Khattab. And Allah knows best.  

البيهقي:١٣٧٧٧أَخْبَرَنَا أَبُو مُحَمَّدٍ عَبْدُ اللهِ بْنُ يُوسُفَ ثنا أَبُو سَعِيدِ بْنُ الْأَعْرَابِيِّ ثنا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا الْقَعْنَبِيُّ ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا عَلِيُّ بْنُ حَمْشَاذٍ ثنا إِسْمَاعِيلُ بْنُ إِسْحَاقَ الْقَاضِي ثنا عَبْدُ اللهِ بْنُ مَسْلَمَةَ ح قَالَ وَأنبأ أَحْمَدُ بْنُ سَلْمَانَ الْفَقِيهُ قَالَ قُرِئَ عَلَى عَبْدِ الْمَلِكِ بْنِ مُحَمَّدٍ وَهُوَ ابْنُ عَبْدِ اللهِ الرَّقَاشِيُّ ثنا أَبِي قَالَا ثنا مُسْلِمُ بْنُ خَالِدٍ عَنِ الْعَلَاءِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ ؓ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ كَرَمُ الْمَرْءِ دِينُهُ وَمُرُوءَتُهُ عَقْلُهُ وَحَسَبُهُ خُلُقُهُ لَفْظُ حَدِيثِ أَبِي عَبْدِ اللهِ وَلَيْسَ فِي رِوَايَةِ ابْنِ يُوسُفَ وَمُرُوءَتُهُ عَقْلُهُ وَرُوِيَ مِثْلُ ذَلِكَ عَنْ عُمَرَ بْنِ الْخَطَّابِ ؓ مِنْ قَوْلِهِ وَاللهُ أَعْلَمُ