Sayyiduna Ibn Umar (may Allah be pleased with them both) narrates that Sayyiduna Uthman (may Allah be pleased with him) wanted to entrust him with the office of judge, but he refused and said: "I heard the Messenger of Allah (peace and blessings be upon him) saying: 'Judges are of three kinds: one is saved and two are in the Fire. Whoever judges with injustice or by his own desires is ruined, and whoever judges according to the truth is saved.'"
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from Amr bin Dinar except Muhammad bin Muslim."
Hadith Referenceالمعجم الأوسط / باب العين / 3828
Hadith Takhrij«أخرجه الطبراني فى «الكبير» برقم: 13801»