This theme first gathers the verses in which Allah is witness over all things, then those that make the Messenger ﷺ a witness over his community and the community a witness over mankind. It also covers the rules of testimony: not concealing it, testifying only to what one knows, requiring an upright witness, rejecting false testimony, and the witnesses required in cases of slanderous accusation.
Verses gathered from a topical index of the Quran, in Mushaf order; every verse is quoted in full.
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."