Barney's stuck in the middle when Robin has an argument with his family on How I Met Your Mother. "The Poker Game" is the fifth episode of the show's ninth season.
Added:

How I Met Your Mother Season 9 Episode 5 Quotes

Choose your wife, you always choose your wife.

Lily

He's gotten really respectful with his fake listening.

Ted