In Islam, it is haram (forbidden) to consume plants that are deadly, cause mental impairment, are poisonous to the body, or are harmful to health in any way. For example, consuming intoxicating and mind-altering substances like opium or hashish is not permissible. Such plants are considered haram because they cause harm to both physical and mental health.
W