Messenger of Allah ﷺ said, "Whoever takes a false oath so as to take the property of a Muslim (illegally) will meet Allah while He will be angry with him." Al-Ash'ath said: By Allah, that saying concerned me. I had common land with a Jew, and the Jew later on denied my ownership, so I took him to the Prophet who asked me whether I had a proof of my ownership. When I replied in the negative, the Prophet asked the Jew to take an oath. I said, "O Messenger of Allah ﷺ! He will take an oath and deprive me of my property." So, Allah revealed the following verse: "Verily! Those who purchase a little gain at the cost of Allah's covenant and their oaths." (3.77)
قَالَ رَسُولُ اللَّهِ ﷺ مَنْ حَلَفَ عَلَى يَمِينٍ وَهْوَ فِيهَا فَاجِرٌ لِيَقْتَطِعَ بِهَا مَالَ امْرِئٍ مُسْلِمٍ لَقِيَ اللَّهَ وَهْوَ عَلَيْهِ غَضْبَانُ قَالَ فَقَالَ الأَشْعَثُ فِيَّ وَاللَّهِ كَانَ ذَلِكَ كَانَ بَيْنِي وَبَيْنَ رَجُلٍ مِنَ الْيَهُودِ أَرْضٌ فَجَحَدَنِي فَقَدَّمْتُهُ إِلَى النَّبِيِّ ﷺ فَقَالَ لِي رَسُولُ اللَّهِ ﷺ أَلَكَ بَيِّنَةٌ قُلْتُ لاَ قَالَ فَقَالَ لِلْيَهُودِيِّ احْلِفْ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ إِذًا يَحْلِفَ وَيَذْهَبَ بِمَالِي فَأَنْزَلَ اللَّهُ تَعَالَى {إِنَّ الَّذِينَ يَشْتَرُونَ بِعَهْدِ اللَّهِ وَأَيْمَانِهِمْ ثَمَنًا قَلِيلاً} إِلَى آخِرِ الآيَةِ