Saeed bin Musayab reported,

Qassama existed in the pre-Islamic era, then the Messenger of Allah ﷺ upheld it in the case of the Ansari man who was found murdered in a well belonging to the Jews. The Ansar said, "The Jews killed our companion."

Nasai 4713

Sahih

أخبرنا محمد بن رافع قال حدثنا عبد الرزاق قال أنبأنا معمر عن الزهري

عن ابن المسيب قال

كانت القسامة في الجاهلية ثم أقرها رسول الله ﷺ في الأنصاري الذي وجد مقتولا في جب اليهود فقالت الأنصار اليهود قتلوا صاحبنا

النسائي 4713صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Sworn testimony
Chapter
Sworn testimony
Numbering
Darussalam 4713
Nasai 4713