"The Prophet (ﷺ) passed judgement based on an oath along with one witness." He said: "And 'Ali judged between you based on it."
Jami` at-Tirmidhi Book 15, Hadith 25