Ibn Abbas reported Allah's Apostle (ﷺ) as saying
If the people were given according to their claims, they would claim the lives of persons and their properties, but the oath must be taken by the defendant.
Ibn 'Abbas reported that Allah's Messenger (ﷺ) pronounced judgment on the basis of oath by the defendant.