Leviticus 5:4
5:4
'Or if a person swears thoughtlessly with his lips to do evil or to do good, in whatever matter a man may speak thoughtlessly with an oath, and it is hidden from him, and then he comes to know [it], he will be guilty in one of these.