The Prophet ﷺ said: Two judges are in the Fire and one judge is in Paradise.
He says: Are they the judges in the courts, or anyone who judges between two people? Of course, I say that in the time of the Prophet, peace be upon him, there were no courts in the same way as today.
But there were those who judged and settled matters between people. The judge is the one who settles disputes between people, even if it is in his own home.
When someone comes to you, or to me, or to anyone, for example, people who are in conflict.
And they argue, wanting someone to judge, for you to judge in this matter. It is not necessary for a person to appoint himself as a judge over people, but it often happens; because "judge" is an active participle.
A judge means someone who settles disputes and dedicates himself to this task.
The Prophet ﷺ said: Judges are three: two judges are in the Fire and one judge is in Paradise, meaning those who settle disputes among us. Some people become judges even if they are just in reconciliation committees.
Or perhaps also in cases of disputes and similar matters in administrative bodies or elsewhere, and that is also a judge.
Likewise, even a person who settles, perhaps also in traffic accidents.
This is also a judge who settles in matters of wealth, and the one who settles in marriage and contract cases is also a judge.
So the attribution of judgment in such cases, and people differ in this, and the more responsibility a person carries and the more varied the cases and his appointment to more of them.
Then he is more accountable for this, and it is greater upon him.