The Prophet ﷺ said, "Whoever swears an oath in order to gain wealth through it, lying in his oath, will meet Allah while He is angry with him." Then Allah sent down confirmation of this, "Indeed, those who exchange the covenant of Allah and their oaths for a small price" and he recited on to "a painful punishment" [Al Imran 3:77].Then Ashath bin Qays came out to us and asked, "What has Abu Abdul-Rahman been telling you?"So we told him.He said, "He has spoken the truth. By Allah, it was revealed about me. There was a dispute between me and another man over a well, so we brought our case before the Messenger of Allah ﷺ.The Messenger of Allah said, "Bring your two witnesses, or else he takes the oath."I said, "Then he will swear without a second thought."The Messenger of Allah ﷺ said, "Whoever swears an oath in order to gain wealth through it, lying in his oath, will meet Allah while He is angry with him."Then Allah sent down confirmation of this, and he recited this verse, "Indeed, those who exchange the covenant of Allah and their oaths for a small price" up to "and they will have a painful punishment" [Al Imran 3:77].
حدثنا قتيبة بن سعيد حدثنا جرير عن منصور عن أبي وائل قال قال
من حلف على يمين يستحق بها مالا وهو فيها فاجر لقي الله وهو عليه غضبان فأنزل الله تصديق ذلك {إن الذين يشترون بعهد الله وأيمانهم ثمنا قليلا} فقرأ إلى {عذاب أليم} ثم إن الأشعث بن قيس خرج إلينا فقال ما يحدثكم أبو عبد الرحمن قال فحدثناه قال فقال صدق لفي والله أنزلت كانت بيني وبين رجل خصومة في بئر فاختصمنا إلى رسول الله ﷺ فقال رسول الله شاهداك أو يمينه قلت إنه إذا يحلف ولا يبالي فقال رسول الله ﷺ من حلف على يمين يستحق بها مالا وهو فيها فاجر لقي الله وهو عليه غضبان فأنزل الله تصديق ذلك ثم اقترأ هذه الآية {إن الذين يشترون بعهد الله وأيمانهم ثمنا قليلا} إلى {ولهم عذاب أليم}