I've been looking for this story for a long time.
I believe it was published in Analog Science Fiction in the 1990's. In the story, an abandoned alien space station has been discovered at another star system. I vaguely recall this is the second or third mission to the space station. Perhaps the first mission staff all died. As the current mission staff explore the station they are infected with a religion meme that includes an elaborate ritual that (really fuzzy memory here) includes a sacrifice.
One character makes a comment about the last time it took 2000 years to extinguish this meme.