Abdullah bin Masud reported,

The Prophet ﷺ said, "Whoever swears an oath in order to seize the wealth of a Muslim man, knowing that he is lying, will meet Allah while He is angry with him." Then Allah, the Exalted, revealed the verse, "Indeed, those who exchange the covenant of Allah and their oaths for a small price" [Al Imran 3:77].Then Ashath came and asked, "What did Abu Abdul-Rahman narrate to you?"They told him what had been said.Ashath said, "This verse was revealed concerning me. I had a well on the land of a cousin of mine, so I brought the matter to the Messenger of Allah ﷺ."He said to me, "Bring your witnesses."I said, "I have no witnesses."He said, "Then he must take an oath."I said, "Messenger of Allah, in that case he will swear."The Prophet ﷺ then mentioned this hadith, and Allah revealed that verse confirming what he had said.

Bukhari 2356-2357

Sahih

حدثنا عبدان عن أبي حمزة عن الأعمش عن شقيق

عن عبد الله رضي الله عنه

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

البخاري 2356-2357صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sharecropping of orchards
Chapter
Disputes over wells and their legal judgments
Numbering
Darussalam 2356-2357
Bukhari2356 2356-2357