Abdullah bin Masud reported,

Whoever swears an oath by which he wrongfully claims property, lying in his oath, will meet Allah while He is angry with him.He then mentioned something similar to the hadith of Amash, except that he said, "There was a dispute between me and another man over a well, so we brought our case before the Messenger of Allah ﷺ. He said, 'Your two witnesses, or his oath.'"

Muslim 356

Sahih

حدثنا إسحق بن إبراهيم أخبرنا جرير عن منصور عن أبي وائل

عن عبد الله قال

من حلف على يمين يستحق بها مالا هو فيها فاجر لقي الله وهو عليه غضبان ثم ذكر نحو حديث الأعمش غير أنه قال كانت بيني وبين رجل خصومة في بئر فاختصمنا إلى رسول الله ﷺ فقال شاهداك أو يمينه

مسلم 356صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Threat of Hellfire for whoever takes the right of a Muslim with a false oath
Numbering
Darussalam 356
Muslim 356