When discussing justice in Islam, many well-meaning Muslims unknowingly adopt secular assumptions. Their understanding often drifts from the Qur’anic conception of justice, which is classically defined as: “Putting things in their proper place.”
https://www.howtomuslim.org/post/justice-not-equality-the-true-aim-of-shari-ah