يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ كُونُوا۟ قَوَّٰمِينَ بِٱلْقِسْطِ شُهَدَآءَ لِلَّهِ وَلَوْ عَلَىٰٓ أَنفُسِكُمْ أَوِ ٱلْوَٰلِدَيْنِ وَٱلْأَقْرَبِينَ ۚ إِن يَكُنْ غَنِيًّا أَوْ فَقِيرًا فَٱللَّهُ أَوْلَىٰ بِهِمَا ۖ فَلَا تَتَّبِعُوا۟ ٱلْهَوَىٰٓ أَن تَعْدِلُوا۟ ۚ وَإِن تَلْوُۥٓا۟ أَوْ تُعْرِضُوا۟ فَإِنَّ ٱللَّهَ كَانَ بِمَا تَعْمَلُونَ خَبِيرًا Qur’an An-Nisaa' (4:135)Y a ayyuh a alla th eena a manoo koonoo qaww a meena bi a lqis t i shuhad a a lill a hi walaw AAal a anfusikum awi alw a lidayni wa a laqrabeena in yakun ghaniyyan aw faqeeran fa A ll a hu awl a bihim a fal a tattabiAAoo alhaw a an taAAdiloo wain talwoo aw tuAAri d oo fainna All a ha k a na bim a taAAmaloona khabeer a n
I.e.. "do not allow the fact that a man is rich to prejudice you in his favour or against him, and do not, out of misplaced compassion, favour the poor man at the expense of the truth".
Some people may be inclined to favour the rich, because they expect something from them. Some people may be inclined to favour the poor because they are generally helpless. Partiality in either case is wrong. Be just, without fear of favour. Both the rich and the poor are under Allah's protection as far as their legitimate interests are concerned, but they cannot expect to be favoured at the expense of others. And He can protect their interests far better than any man.
When the emigration took place from Makkah to Madinah, bonds and links of brotherhood were established between the Emigrants and the Helpers, and they shared in each other's inheritance. Later, when the Community was solidly established, and relations with those left behind in Makkah were resumed, the rights of blood-relations in Makkah, and the Helper-brethren in Madinah were both safeguarded. This is the particular meaning. The more general meaning is similar; respect your ties of blood, of neighbourhood, and of friendly compacts and understandings. Be just to all.