(Al-Maeda) 5 : 107
فَإِنْ عُثِرَ عَلَىٰ أَنَّهُمَا اسْتَحَقَّا إِثْمًا فَآخَرَانِ يَقُومَانِ مَقَامَهُمَا مِنَ الَّذِينَ اسْتَحَقَّ عَلَيْهِمُ الْأَوْلَيَانِ فَيُقْسِمَانِ بِاللَّهِ لَشَهَادَتُنَا أَحَقُّ مِنْ شَهَادَتِهِمَا وَمَا اعْتَدَيْنَا إِنَّا إِذًا لَمِنَ الظَّالِمِينَ

If it becomes clear that both of them have been accused of any sin, then let two others stand up as a witness from the nearest of kins among those who claim lawful and right, then both of them should swear by Lord Allah: "Our testimony is true, more truthful than the testimony of both of them; if we are aggressed, then indeed we would be among the wrongdoers".