Abdullah bin Abbas reported,

A man from the tribe of Banu Sahm set out on a journey with Tamim Dari and Adi bin Badda. The man from Banu Sahm died in a land where no Muslim was present. When the two companions returned with his estate, his family discovered that a silver vessel inlaid with gold was missing. The Messenger of Allah ﷺ had the two of them swear an oath.Later, the vessel turned up in Mecca, and those holding it said, "We bought it from Tamim and Adi."Then two men from among the relatives of the deceased from Banu Sahm came forward and swore, "Our testimony is more deserving of acceptance than their testimony, and the vessel belongs to our kinsman."He said, So this verse was revealed concerning them, "You who believe, when death approaches one of you, let testimony be taken among you..." [Maidah 5:106].

Abu Dawud 3606

Sahih

حدثنا الحسن بن علي حدثنا يحيى بن آدم حدثنا ابن أبي زائدة عن محمد بن أبي القاسم عن عبد الملك بن سعيد بن جبير عن أبيه

عن ابن عباس قال

خرج رجل من بني سهم مع تميم الداري وعدي بن بداء فمات السهمي بأرض ليس بها مسلم فلما قدما بتركته فقدوا جام فضة مخوصا بالذهب فأحلفهما رسول الله ﷺ ثم وجد الجام بمكة فقالوا اشتريناه من تميم وعدي فقام رجلان من أولياء السهمي فحلفا لشهادتنا أحق من شهادتهما وإن الجام لصاحبهم قال فنزلت فيهم {يا أيها الذين آمنوا شهادة بينكم إذا حضر أحدكم الموت} الآية

أبو داود 3606صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Judgments
Chapter
Testimony of the dhimmis and regarding the will during travel
Numbering
Darussalam 3606
Abu Dawud 3606