Mishkat al-Masabih
Mishkat al-Masabih 3773
Arabic hadith text
وَعَن أبي هريرةَ أنَّ رجُلينِ اختَصما فِي دَابَّة وَلَيْسَ لَهما بَيِّنَةٌ فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «استهِما على اليَمينِ» . رَوَاهُ أَبُو دَاوُد وابنُ مَاجَه
Translation
Abu Hurayra reported: Two men disputed ownership of an animal and had no evidence. The Prophet said: Draw lots to decide who will swear the oath. Abu Dawud and Ibn Majah transmitted it.
Translation notes
The source says the lots determine who is to swear the oath.