[Machine] Adi ibn Badda and Tamim al-Dari were going to Mecca for trade when a man from the Banu Sahm tribe joined them. He died in a land where there were no Muslims, so he entrusted them with his belongings, and they handed his inheritance to his family. They also held a silver cup plated with gold. The Messenger of Allah ﷺ then made them swear by Allah that they would not conceal anything or release it. Later, they found the cup in Mecca and said, "We bought it from Tamim al-Dari and Adi." Two men from the allies of the Sahmi tribe stood up, swore an oath, took the cup, and the following verse was revealed about them, "O you who have believed, testimony [should be taken] among you." (Quran 5:106)
كَانَ عَدِيُّ بْنُ بَدَّاءٍ وَتَمِيمٌ الدَّارِيُّ يَخْتَلِفَانِ إِلَى مَكَّةَ بِتِجَارَةٍ فَخَرَجَ مَعَهُمَا رَجُلٌ مِنْ بَنِي سَهْمٍ فَتُوُفِّيَ بِأَرْضٍ لَيْسَ بِهَا مُسْلِمٌ فَأَوْصَى إِلَيْهِمَا فَدَفَعَا تَرِكَتَهُ إِلَى أَهْلِهِ وَحَبَسَا جَامًا مِنْ فِضَّةٍ مُخَوَّصٌ بِالذَّهَبِ «فَاسْتَحْلَفَهُمَا رَسُولُ اللهِ ﷺ بِاللهِ مَا كَتَمْتُمَاهَا وَلَا أَطْلَقْتُمَا» ثُمَّ وَجَدُوا الْجَامَ بِمَكَّةَ فَقَالُوا اشْتَرَيْنَاهُ مِنْ تَمِيمٍ الدَّارِيِّ وَعَدِيٍّ فَقَامَ رَجُلَانِ مِنْ أَوْلِيَاءِ السَّهْمِيِّ فَحَلَفَا وَأَخَذَ الْجَامَ وَفِيهِمْ نَزَلَتْ هَذِهِ الْآيَةُ {يَا أَيُّهَا الَّذِينَ آمَنُوا شَهَادَةُ بَيْنِكُمْ} الْآيَةُ