The Messenger of Allah ﷺ said, "Whoever swears a binding oath in order to wrongfully take the property of a Muslim, while lying in that oath, will meet Allah while He is angry with him."Then Ashath bin Qays entered and asked, "What is Abu Abdul-Rahman narrating to you?"They replied, "Such and such."He said, "Abu Abdul-Rahman has spoken truly. It was concerning me that this verse was revealed. There was a piece of land in Yemen disputed between me and another man, so I brought the case before the Prophet ﷺ."He asked, "Do you have any evidence?"I said, "No."He said, "Then he must take an oath."I said, "In that case he will simply swear."At that point the Messenger of Allah ﷺ said, "Whoever swears a binding oath in order to wrongfully take the property of a Muslim, while lying in that oath, will meet Allah while He is angry with him."Then this verse was revealed, "Indeed, those who exchange the covenant of Allah and their oaths for a small price will have no share in the Hereafter, and Allah will not speak to them or look at them on the Day of Resurrection, nor will He purify them, and they will have a painful punishment" [Aal Imran 3:77].
عن رسول الله ﷺ قال: من حلف على يمين صبر يقتطع بها مال امرئ مسلم، هو فيها فاجر، لقي الله وهو عليه غضبان قال، فدخل الأشعث بن قيس فقال: ما يحدثكم أبو عبد الرحمن؟ قالوا: كذا وكذا قال: صدق أبو عبد الرحمن، في نزلت. كان بيني وبين رجل أرض باليمن فخاصمته إلى النبي ﷺ فقال: هل لك من بينة؟ فقلت: لا قال: فيمينه قلت: إذن يحلف فقال رسول الله ﷺ عند ذلك: من حلف على يمين صبر، يقتطع بها مال امرئ مسلم، هو فيها فاجر، لقي الله وهو عليه غضبان فنزلت: {إن الذين يشترون بعهد الله وأيمنهم ثمنا قليلا أوليك لا خلاق لهم في الآخرة ولا يكلمهم الله ولا ينظر إليهم يوم القيامة ولا يزكيهم ولهم عذاب أليم} [آل عمران: ٧٧].
Bukhari narrated it in the Book of Oaths and Vows (6659–6660), and Muslim in the Book of Faith (220:138), both from the hadith of Abu Waail, from Abdullah (that is, Ibn Masud), and he related it, with the wording being Muslim's.In another version found in both of them, Bukhari (2516-2515) and Muslim, "Your two witnesses or his oath."There is no contradiction between his saying, "Do you have proof?" and his saying, "Your two witnesses," for the two witnesses are the proof.