Al-Mâ’idah 5:107
فَإِنْ عُثِرَ عَلَىٰ أَنَّهُمَا اسْتَحَقَّا إِثْمًا فَآخَرَانِ يَقُومَانِ مَقَامَهُمَا مِنَ الَّذِينَ اسْتَحَقَّ عَلَيْهِمُ الْأَوْلَيَانِ فَيُقْسِمَانِ بِاللَّهِ لَشَهَادَتُنَا أَحَقُّ مِن شَهَادَتِهِمَا وَمَا اعْتَدَيْنَا إِنَّا إِذًا لَّمِنَ الظَّالِمِينَ ١٠٧
Fain AAuthira AAala annahuma istahaqqa ithman faakharani yaqoomani maqamahuma mina allatheena istahaqqa AAalayhimu alawlayani fayuqsimani biAllahi lashahadatuna ahaqqu min shahadatihima wama iAAtadayna inna ithan lamina alththalimeena
But if it is learnt later that both of them have earned sin (owing to concealing the true witness), then, in their stead, two other (witnesses) should rise from amongst those whose right the two former (witnesses) have seized. (Let them both be closer relatives of the deceased.) They should then swear by Allah: ‘Indeed, our testimony is truer than the testimony of both of them; we are not transgressing the bounds (of Truth. If we do so,) we shall be amongst the wrongdoers there and then.’ (5:107)