It is narrated from Abu Ja'far that the Prophet (peace and blessings be upon him) judged in matters of rights with a witness and an oath.