Justice in Islam
In Islam, we should always stand for justice as a matter of principle, whether for Muslims or non-Muslims, even if justice should side against us.
Allah said:
يَا أَيُّهَا الَّذِينَ آمَنُوا كُونُوا قَوَّامِينَ بِالْقِسْطِ شُهَدَاءَ لِلَّهِ وَلَوْ عَلَىٰ أَنفُسِكُمْ أَوِ الْوَالِدَيْنِ وَالْأَقْرَبِينَ إِن يَكُنْ غَنِيًّا أَوْ فَقِيرًافَاللَّهُ أَوْلَىٰ بِهِمَا فَلَا تَتَّبِعُوا الْهَوَىٰ أَن تَعْدِلُوا وَإِن تَلْوُوا أَوْ تُعْرِضُوا فَإِنَّ اللَّهَ كَانَ بِمَا تَعْمَلُونَ خَبِيرًا
O you who believe, be persistently standing firm in justice as witnesses for Allah, even if it be against yourselves or parents and relatives. Whether one is rich or poor, Allah is more worthy of both. Follow not your desires, lest you not be just. If you distort your testimony or refuse to give it, then Allah is aware of what you do.
Surat An-Nisa 4:135
And Allah said:
إِنَّ اللَّهَ يَأْمُرُ بِالْعَدْلِ وَالْإِحْسَانِ وَإِيتَاءِ ذِي الْقُرْبَىٰ وَيَنْهَىٰ عَنِ الْفَحْشَاءِ وَالْمُنكَرِ وَالْبَغْيِ يَعِظُكُمْ لَعَلَّكُمْ تَذَكَّرُونَ
Verily, Allah orders justice and good conduct and giving to relatives and He forbids immorality and bad conduct and oppression. He admonishes you that perhaps you will be reminded.
Surat An-Nahl 16:90
And Allah said:
إِنَّ اللَّهَ يَأْمُرُكُمْ أَن تُؤَدُّوا الْأَمَانَاتِ إِلَىٰ أَهْلِهَا وَإِذَا حَكَمْتُم بَيْنَ النَّاسِ أَن تَحْكُمُوا بِالْعَدْلِ إِنَّ اللَّهَ نِعِمَّا يَعِظُكُم بِهِ إِنَّاللَّهَ كَانَ سَمِيعًا بَصِيرًا
Verily, Allah commands you to render trusts to whom they are due and when you judge between people to judge with justice. Excellent is that which Allah instructs you. Verily, Allah is ever hearing and seeing.
Surat An-Nisa 4:58
Justice is one of the core tenets of Islamic teachings. Whatever is just is necessarily a part of the religion of Islam.
Ibn Al-Qayyim said:
قَدْ بَيَّنَ سُبْحَانَهُ بِمَا شَرَعَهُ مِنْ الطُّرُقِ أَنَّ مَقْصُودَهُ إقَامَةُ الْعَدْلِ بَيْنَ عِبَادِهِ وَقِيَامُ النَّاسِ بِالْقِسْطِ فَأَيُّ طَرِيقٍ اُسْتُخْرِجَبِهَا الْعَدْلُ وَالْقِسْطُ فَهِيَ مِنْ الدِّينِ وَلَيْسَتْ مُخَالِفَةً لَهُ
Allah the Exalted has made clear in his law (sharia) that the objective is the establishment of justice between His servants and fairness among the people, so whichever path leads to justice and fairness is part of the religion and can never oppose it.
Quran 5:8
O you who have believed, be persistently standing firm for Allah, witnesses in justice, and do not let the hatred of a people prevent you from being just. Be just; that is nearer to righteousness. And fear Allah ; indeed, Allah is Acquainted with what you do.
Chapter (5) sūrat l-māidah (The Table spread with Food)