It was my understanding that aslong as the substance doesn't distort your connection with peace, it was ok in budhism. I could be way off base. I think if you are using marijuana as a sacriment, or a tool in your ultimate pursuit of being one with budha, it should be ok.

I use it quite often while meditating. It is a great help to relax the mind.

And as for catholic religion, or any religion based on Jesus' teachings; It is said that jesus breathed in smoke from burning holy oil. It is said that cannabis was one of the main ingredients of that oil. It is said that jesus would gain great wisdom and sometime see god while under the influence of it.