Two men disputed about some property and brought the case to the Holy Prophet ﷺ, but neither of them could produce any proof. So the Holy Prophet ﷺ said: Cast lots about the oath whatever it may be, whether they like it or dislike it. (Using translation from Abū Dāʾūd 3616)
أَنَّ رَجُلَيْنِ اخْتَصَمَا إِلَى النَّبِيِّ ﷺ فِي مَتَاعٍ لَيْسَ لِوَاحِدٍ مِنْهُمَا بَيِّنَةٌ فَقَالَ النَّبِيُّ ﷺ اسْتَهِمَا عَلَى الْيَمِينِ مَا كَانَ أَحَبَّا ذَلِكَ أَوْ كَرِهَا