Sunan Ibn Majah
2329
Sahih+3

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

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi