The Flintstones - Season 1 Episode 3 The Swimming Pool Yabba Dabba Doo!
Overview: Fred and Barney jointly build a swimming pool, but Barney hogs the pool time, angering Fred. To get even, Fred hires a pal to pose as a police officer and break up one of his neighbor's pool parties.