Sahih Bukhari
Hadith #6677
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