From Sahih Muslim (Hadith 4470):
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
Reference: Muslim 4470