Narrated 'Abdullah (bin Mas'ud): The Prophet ﷺ said, "Whoever takes a false oath to deprive somebody of his property will meet Allah while He will be angry with him". Allah revealed: 'Verily those who purchase a little gain at the cost of Allah's covenant, and their oaths'. .(3:77) Al-Ashath came (to the place where 'Abdullah was narrating) and said, "What has Abu 'Abdur- Rahman (ie 'Abdullah) been telling you? This verse was revealed concerning me. I had a well in the land of a cousin of mine. The Prophet ﷺ asked me to bring witnesses (to confirm my claim). I said, 'I don't have witnesses'. He said, 'Let the defendant take an oath then'. I said, 'O Allah's Messenger ﷺ! He will take a (false) oath immediately'. Then the Prophet ﷺ mentioned the above narration and Allah revealed the verse to confirm what he had said".
This Hadith teaches us that we should never take or give false testimony as it is considered sinful in Islam and displeasing to God. We should always strive for truthfulness even if it means we may lose something or someone else gains something from our honesty. We must also remember not to use our words carelessly as they can have serious consequences both here on earth and in our afterlife too!