It was narrated from Abu Idris that :
The Prophet (ﷺ) [SAW] saw a gold ring on a man's hand and he struck his finger with a stick that he had with him, until he threw it away.
Ja'far bin Muhammad narrated from his father: "The Prophet (ﷺ) passed judgement based on an oath along with one witness." He said: "And 'Ali judged between you based on it."