Sunan Ibn Majah #2329
The Chapters on Rulings 13:22
It was narrated from Abu Hurairah that:
he said that two men laid claim to an animal, and neither of them had any proof, so the Prophet (ﷺ) commanded them to cast lots as to which of them should swear an oath.