Ibn Abu Mulayka reported,

Two women were sewing leather in a house, or in a room, when one of them came out with an awl driven through her palm. She accused the other of doing it, and the case was brought before Ibn Abbas.Ibn Abbas said, "The Messenger of Allah ﷺ said, 'If people were given whatever they claimed, men would lose their lives and their property. Remind her of Allah, and recite to her, 'Those who exchange Allah's covenant...' [Aal Imran 3:77]'"So they reminded her, and she confessed.Then Ibn Abbas said, "The Prophet ﷺ said, 'The oath is upon the one against whom the claim is made.'"

Bukhari 4552

Sahih

حدثنا نصر بن علي بن نصر حدثنا عبد الله بن داود عن ابن جريج

عن ابن أبي مليكة

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

البخاري 4552صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
"Those who exchange the covenant of Allah and their oaths for a small price, they will have no share," meaning no good
Numbering
Darussalam 4552
Bukhari 4552