(17) بَابُ قَوْلِ اللَّهِ تَعَالَى: {إِنَّ الَّذِينَ يَشْتَرُونَ بِعَهْدِ اللَّهِ وَأَيْمَانِهِمْ ثَمَنًا قَلِيلاً أُولَئِكَ لاَ خَلاَقَ لَهُمْ فِي الآخِرَةِ وَلاَ يُكَلِّمُهُمُ اللَّهُ وَلاَ يَنْظُرُ إِلَيْهِمْ يَوْمَ الْقِيَامَةِ وَلاَ يُزَكِّيهِمْ وَلَهُمْ عَذَابٌ أَلِيمٌ}
Narrated `Abdullah:
Allah's Messenger (ﷺ) said, "If somebody is ordered (by the ruler or the judge) to take an oath, and he takes a false oath in order to grab the property of a Muslim, then he will incur Allah's Wrath when he will meet Him." And Allah revealed in its confirmation: 'Verily! Those who purchase a small gain at the cost of Allah's covenants and their own oaths.' (3.77) (The sub-narrator added:) Al-Ash'ath bin Qais entered, saying, "What did Abu `Abdur-Rahman narrate to you?" They said, "So-and-so," Al-Ash'ath said, "This verse was revealed in my connection. I had a well on the land of my cousin (and we had a dispute about it). I reported him to Allah 's Apostle who said (to me). "You should give evidence (i.e. witness) otherwise the oath of your opponent will render your claim invalid." I said, "Then he (my opponent) will take the oath, O Allah's Messenger (ﷺ)." Allah's Messenger (ﷺ) said, "Whoever is ordered (by the ruler or the judge) to give an oath, and he takes a false oath in order to grab the property of a Muslim, then he will incur Allah's Wrath when he meets Him on the Day of Resurrection."
Reference: Sahih al-Bukhari 6676, 6677
In-book reference: Book 83, Hadith 54
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 78, Hadith 668