"A man from Banu Sahm went out with Tamim Ad-Dari and 'Adi bin Badda. The Sahmi man died in a land in which there were no Muslims. When they arrived with what he left behind, they searched for a bowl made of silver which was inlaid with gold. The Messenger of Allah ﷺ had the two of them take an oath. Then they found the bowl in Makkah, and the person said: 'We purchased it from Tamim and 'Adi.' So two men among the relatives of the Sahmi man stood to take an oath by Allah that they (his family) had more right to it than them." He said: "So it was about them that the following was revealed: O you who believe! (When death approaches any of you then) take the testimony (5:106)."
خَرَجَ رَجُلٌ مِنْ بَنِي سَهْمٍ مَعَ تَمِيمٍ الدَّارِيِّ وَعَدِيِّ بْنِ بَدَاءٍ فَمَاتَ السَّهْمِيُّ بِأَرْضٍ لَيْسَ فِيهَا مُسْلِمٌ فَلَمَّا قَدِمَا بِتَرِكَتِهِ فَقَدُوا جَامًا مِنْ فِضَّةٍ مُخَوَّصًا بِالذَّهَبِ فَأَحْلَفَهُمَا رَسُولُ اللَّهِ ﷺ ثُمَّ وُجِدَ الْجَامُ بِمَكَّةَ فَقِيلَ اشْتَرَيْنَاهُ مِنْ عَدِيٍّ وَتَمِيمٍ فَقَامَ رَجُلاَنِ مِنْ أَوْلِيَاءِ السَّهْمِيِّ فَحَلَفَا بِاللَّهِ لَشَهَادَتُنَا أَحَقُّ مِنْ شَهَادَتِهِمَا وَأَنَّ الْجَامَ لِصَاحِبِهِمْ قَالَ وَفِيهِمْ نَزَلَتْ ( يَا أَيُّهَا الَّذِينَ آمَنُوا شَهَادَةُ بَيْنِكُمْ ) هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ وَهُوَ حَدِيثُ ابْنِ أَبِي زَائِدَةَ