TibyanTafsir Ibn Kathir
Al-An'am

The Order for Just Testimony

Allah said;

﴿ وَإِذَا قُلۡتُمۡ فَٱعۡدِلُواْ وَلَوۡ ڪَانَ ذَا قُرۡبَىٰ‌ۖ ﴾

(And whenever you give your word, say the truth even if a near relative is concerned.) This is similar to His statement,

﴿ يَـٰٓأَيُّہَا ٱلَّذِينَ ءَامَنُواْ كُونُواْ قَوَّٲمِينَ لِلَّهِ شُہَدَآءَ بِٱلۡقِسۡطِ‌ۖ ﴾

(O you who believe! Stand out firmly for Allah as just witnesses.) (5:8) And there is a similar Ayah in Surat An-Nisa'. So Allah commands justice in action and statement, with both near relatives and distant relatives. Indeed, Allah orders justice for everyone at all times and in all situations.