He was penalized for the slide, not the praying. Nothing to see here.
He was penalized because he went to the ground to celebrate. It has been a rule for several years. (see Nick Collins after picking off Big Ben and scoring in the Super Bowl).
Though, lately they seem to be selectively enforcing this rule (I think Marshall did it against both the 9ers and Packers...)