Sayyiduna Ibn Mas'ud (may Allah be pleased with him) reports that the Messenger of Allah (peace and blessings be upon him) said: "Whoever deliberately swears an oath upon something in order to unjustly acquire someone else's wealth, he will meet Allah while He is angry with him."
Related hadith on this topic