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:20165Abū ʿAlī al-Rūdhbārī > Muḥammad b. Bakr > Abū Dāwud > ʿAbbās al-ʿAnbarī > ʿUmar b. Yūnus > Mulāzim b. ʿUmar > Mūsá b. Najdah from his grandfather Yazīd b. ʿAbd al-Raḥman / Abū Kathīr > Abū Hurayrah

The Prophet ﷺ said: If anyone seeks the office of judge among Muslims till he gets it and his justice prevails over his tyranny, he will go to Paradise; but the man whose tyranny prevails over his justice will go to Hell. (Using translation from Abū Dāʾūd 3575)   

البيهقي:٢٠١٦٥أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ مُحَمَّدُ بْنُ بَكْرٍ ثنا أَبُو دَاوُدَ ثنا عَبَّاسٌ الْعَنْبَرِيُّ ثنا عُمَرُ بْنُ يُونُسَ ثنا مُلَازِمُ بْنُ عُمَرَ وَحَدَّثَنِي مُوسَى بْنُ نَجْدَةَ عَنْ جَدِّهِ يَزِيدَ بْنِ عَبْدِ الرَّحْمَنِ وَهُوَ أَبُو كَثِيرٍ قَالَ حَدَّثَنِي أَبُو هُرَيْرَةَ ؓ

عَنِ النَّبِيِّ ﷺ قَالَ مَنْ طَلَبَ قَضَاءَ الْمُسْلِمِينَ حَتَّى يَنَالَهُ ثُمَّ غَلَبَ عَدْلُهُ جَوْرَهُ فَلَهُ الْجَنَّةُ وَمَنْ غَلَبَ جَوْرُهُ عَدْلَهُ فَلَهُ النَّارُ  


See similar narrations below:

Collected by Abū Dāwūd, Suyūṭī
abudawud:3575ʿAbbās al-ʿAnbarī > ʿUmar b. Yūnus > Mulāzim b. ʿAmr > Mūsá b. Najdah from his grandfather Yazīd b. ʿAbd al-Raḥman / Abū Kathīr > Abū Hurayrah

The Prophet ﷺ said: If anyone seeks the office of judge among Muslims till he gets it and his justice prevails over his tyranny, he will go to Paradise; but the man whose tyranny prevails over his justice will go to Hell.  

أبو داود:٣٥٧٥حَدَّثَنَا عَبَّاسٌ الْعَنْبَرِيُّ حَدَّثَنَا عُمَرُ بْنُ يُونُسَ حَدَّثَنَا مُلاَزِمُ بْنُ عَمْرٍو حَدَّثَنِي مُوسَى بْنُ نَجْدَةَ عَنْ جَدِّهِ يَزِيدَ بْنِ عَبْدِ الرَّحْمَنِ وَهُوَ أَبُو كَثِيرٍ قَالَ حَدَّثَنِي أَبُو هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ قَالَ مَنْ طَلَبَ قَضَاءَ الْمُسْلِمِينَ حَتَّى يَنَالَهُ ثُمَّ غَلَبَ عَدْلُهُ جَوْرَهُ فَلَهُ الْجَنَّةُ وَمَنْ غَلَبَ جَوْرُهُ عَدْلَهُ فَلَهُ النَّارُ  

suyuti:22219a
Request/Fix translation

  

السيوطي:٢٢٢١٩a

"مَنْ طَلَبَ قَضَاءَ الْمُسْلِمِينَ حَتَّى يَنَالهُ، ثُمَّ غَلَبَ عَدْلُه جَوْرَهُ فَلَهُ الْجَنَّةُ، وَمَنْ غَلَبَ جَوْرُهُ عَدْلَهُ، فَلَهُ النَّارُ".  

[د] أبو داود [ق] البيهقى في السنن عن أَبي هريرة