Rabbi 'Aḳiba said: The ban is as much as the oath, and an oath is as much as the ban; and everyone who violates the ban is as though he had violated the oath, and everyone who violates the oath is as though he had violated the ban. Everyone who knows the matter and does not declare it, the ban falls upon him and destroys his timber and his stones, as it is said, "I will cause it to go forth, saith the Lord… and it shall enter into the house of him that sweareth falsely by my name… and shall consume it with the timber thereof and the stones thereof" (Zech. 5:4).
A Ban Is as Powerful as an Oath - Rabbi Akiva's Warning
Pirkei DeRabbi Eliezer 38:14