What’s the ruling on praying while high (due to weed consumption)? Is it accepted?

If he drinks an intoxicant, but he does not reach the point of intoxication, and he knows what he says and does, and he performs the prayer in full, then the prayer is valid, but it is not acceptable.