5:107
فَإِنْعُثِرَعَلَىٰٓأَنَّهُمَاٱسْتَحَقَّآإِثْمًافََٔاخَرَانِيَقُومَانِمَقَامَهُمَامِنَٱلَّذِينَٱسْتَحَقَّعَلَيْهِمُٱلْأَوْلَيَٰنِفَيُقْسِمَانِبِٱللَّهِلَشَهَٰدَتُنَآأَحَقُّمِنشَهَٰدَتِهِمَاوَمَاٱعْتَدَيْنَآإِنَّآإِذًالَّمِنَٱلظَّٰلِمِينَ١٠٧
fa-in ʿuthira ʿalā annahumā is'taḥaqqā ith'man faākharāni yaqūmāni maqāmahumā mina alladhīna is'taḥaqqa ʿalayhimu l-awlayāni fayuq'simāni bil-lahi lashahādatunā aḥaqqu min shahādatihimā wamā iʿ'tadaynā innā idhan lamina l-ẓālimīna
But if it is found that those two were guilty of sin [i.e., perjury], let two others stand in their place [who are] foremost [in claim] from those who have a lawful right. And let them swear by Allāh, "Our testimony is truer than their testimony, and we have not transgressed. Indeed, we would then be of the wrongdoers."(107)