To prohibit means to officially forbid or prevent something from happening. In the context of legislation, it refers to the act of making a certain action or behavior illegal.
Related terms
Ban: The act of officially prohibiting or forbidding something.
Outlaw: To make an activity or behavior illegal by law.
Forbid: To command someone not to do something or to make a specific action illegal.