Meme was coined by Richard Dawkins in The Selfish Gene in 1976, and defined as the equivalent of a gene but for more abstract ideas (because the gene is ultimately just a unit of information as well). I don't remember for sure if religion is specifically an example he personally used, but if it's not it's very comfortably in the same vein.