Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:3584al-Rabīʿ b. Nāfiʿ Abū Tawbah > Ibn al-Mubārak > Usāmah b. Zayd > ʿAbdullāh b. Rāfiʿ a freed slave of Um Salamah > Um Salamah

Two men came to the Messenger of Allah ﷺ who were disputing over their inheritance. They had no evidence except their claim. The Prophet ﷺ then said in a similar way. Thereupon both the men wept and each of them said: This right of mine go to you. The Prophet ﷺ then said: Now you have done whatever you have done ; do divide it up, aiming at what is right, then drew lots, and let each of you consider the other to have what is legitimately his"  

أبو داود:٣٥٨٤حَدَّثَنَا الرَّبِيعُ بْنُ نَافِعٍ أَبُو تَوْبَةَ حَدَّثَنَا ابْنُ الْمُبَارَكِ عَنْ أُسَامَةَ بْنِ زَيْدٍ عَنْ عَبْدِ اللَّهِ بْنِ رَافِعٍ مَوْلَى أُمِّ سَلَمَةَ عَنْ أُمِّ سَلَمَةَ قَالَتْ

أَتَى رَسُولَ اللَّهِ ﷺ رَجُلاَنِ يَخْتَصِمَانِ فِي مَوَارِيثَ لَهُمَا لَمْ تَكُنْ لَهُمَا بَيِّنَةٌ إِلاَّ دَعْوَاهُمَا فَقَالَ النَّبِيُّ ﷺ فَذَكَرَ مِثْلَهُ فَبَكَى الرَّجُلاَنِ وَقَالَ كُلُّ وَاحِدٍ مِنْهُمَا حَقِّي لَكَ فَقَالَ لَهُمَا النَّبِيُّ ﷺ أَمَّا إِذْ فَعَلْتُمَا مَا فَعَلْتُمَا فَاقْتَسِمَا وَتَوَخَّيَا الْحَقَّ ثُمَّ اسْتَهِمَا ثُمَّ تَحَالاَّ