two men disputed concerning a transaction, and neither of them had proof. The Messenger of Allah commanded them to draw lots as to which of them should swear an oath, whether they liked it or not. (Using translation from Ibn Mājah 2346)
أَنَّ رَجُلَيْنِ تَدَارَءَا فِي دَابَّةٍ لَيْسَ لِوَاحِدٍ مِنْهُمَا بَيِّنَةٌ فَأَمَرَهُمَا رَسُولُ اللهِ ﷺ أَنْ يَسْتَهِمَا عَلَى الْيَمِينِ أَحَبَّا أَوْ كَرِهَا