[Machine] Whoever swears an oath and is dishonest in it, seeking by it wealth while he is sinful therein, he will meet Allah while he is angry with him. And the confirmation of that is in the Book of Allah: "Indeed, those who exchange the covenant of Allah and their [own] oaths for a small price - they will have no share in the Hereafter" [Al-Imran 3:77]. Thumamah ibn Qays then came to us and said, "What is Abu Abdur Rahman talking to you about?" So we informed him of what he said. Thumamah said, "He has told the truth. A similar incident happened to me. I had a dispute with a man over a well, so we went to the Messenger of Allah ﷺ . He said, 'Do you have any witnesses or evidence?' I replied, 'No, but I am willing to swear an oath.' The Messenger of Allah ﷺ said, 'Whoever swears an oath and is dishonest in it, seeking by it wealth while he is sinful therein, he will meet Allah while he is angry with him.' Then Allah (ﷻ) revealed the confirmation of that and recited this verse: 'Indeed, those who exchange the covenant of Allah and their [own] oaths for a small price - they will have no share in the Hereafter' [Al-Imran 3:77]. This is the wording of the narration of Ishaq.
مَنْ حَلَفَ عَلَى يَمِينٍ يَسْتَحِقُّ بِهَا مَالًا وَهُوَ فِيهَا فَاجِرٌ لَقِيَ اللهَ وَهُوَ عَلَيْهِ غَضْبَانُ وَتَصْدِيقُ ذَلِكَ فِي كِتَابِ اللهِ {إِنَّ الَّذِينَ يَشْتَرُونَ بِعَهْدِ اللهِ وَأَيْمَانِهِمْ ثَمَنًا قَلِيلًا أُولَئِكَ لَا خَلَاقَ لَهُمْ فِي الْآخِرَةِ} [آل عمران 77] الْآيَةَ قَالَ ثُمَّ إِنَّ الْأَشْعَثَ بْنَ قَيْسٍ خَرَجَ إِلَيْنَا فَقَالَ مَا يُحَدِّثُكُمْ أَبُو عَبْدِ الرَّحْمَنِ؟ فَحَدَّثْنَاهُ بِمَا قَالَ فَقَالَ صَدَقَ لَفِيَّ نَزَلَتْ كَانَتْ بَيْنِي وَبَيْنَ رَجُلٍ خُصُومَةٌ فِي بِئْرٍ فَاخْتَصَمْنَا إِلَى رَسُولِ اللهِ ﷺ فَقَالَ شَاهِدَاكَ أَوْ يَمِينُهُ فَقُلْتُ إِذًا يَحْلِفُ وَلَا يُبَالِي فَقَالَ رَسُولُ اللهِ ﷺ مَنْ حَلَفَ عَلَى يَمِينٍ يَسْتَحِقُّ بِهَا مَالًا هُوَ فِيهَا فَاجِرٌ لَقِيَ اللهَ وَهُوَ عَلَيْهِ غَضْبَانُ فَأَنْزَلَ اللهُ ﷻ تَصْدِيقَ ذَلِكَ ثُمَّ قَرَأَ هَذِهِ الْآيَةَ {إِنَّ الَّذِينَ يَشْتَرُونَ بِعَهْدِ اللهِ وَأَيْمَانِهِمْ ثَمَنًا قَلِيلًا} [آل عمران 77] الْآيَةَ لَفْظُ حَدِيثِ إِسْحَاقَ