There are many passages in the gospels in which Jesus is portrayed as criticizing temple ritual as hypocritical, perhaps none so powerful as Matthew 23. There are very few passages in which Jesus is portrayed as participating in Temple/synagogue worship, and many in which the religious authorities viewed him as a threat to their activities. Hope this helps.