Cape Fear (1962): Small-town lawyer Sam Bowden's life becomes torturous when Max Cady re-enters his life. Cady went to jail for 8 years after Bowden testified that Cady attacked a young woman. Now that Cady has been released, he begins to terrorize Bowden and his family, particularly targeting Bowden's daughter, Nancy. Initially, Cady uses his newfound knowledge of the law to annoy the Bowdens.

Cape Fear (1991): Max Cady is a psychopath just released from prison for rape. He is out seeking revenge from his lawyer Sam Bowden who he believes deliberately held back important information about his case during the trial, which could have kept him out of jail. He sets off to terrorise Bowden, his wife and even goes after their 15 year old daughter.

The Simpsons Season 5 - Cape Feare: In this season 5 episode Sideshow Bob Roberts returns to seek revenge over Bart for sending him to jail and prevent his murder attempt at Selma Bouvier. This episode is a direct parody of the 1991 version of Cape Fear directed by Martin Scorsese.

At the cinema
Sideshow Bob enjoys his cigar to everyone but Homer's displeasure. Homer himself smokes an even bigger cigar. When Homer breaks out in laughter, Sideshow Bob yells at him.  
Max Cady fires up his cigar at the cinema, to everyone's displeasure. He laughes high so everyone can hear him. When Sam Bowden tries to make him be quiet Max just ignores him.
Working out
Sideshow Bob also got his body filled with tattos, including the famous "Die Bart Die" (German for "The Bart, The")  
Max Cady working out in prison.
"Now don't you fret. When I'm through, he won't set foot in this town again. I can be very, very persuasive."
Sam Bowden reaches out to some local vigilantes to make Max Cady leave the town.

- C'mon, leave town!
- No.
- I'll be your friend?
- No.
- Aw, you're mean!

The vigilantes in Cape Fear use more drastic methods.
The doll
The Shreiff and Chief Wiggum sets up a network of strings through the house, attached to a doll, so they can see if anyone comes in .
Hitchhiking with the Thomsons
Eventually the Simpsons joins FBI's Witness Relocation Program and leave town. They get to chose between Cape
, Terror Lake, New Horrorfield and Screamville.
After the sheriff and their maid has been brutally killed the Bowdens leave the town.

Sideshow Bob chose to hitchhike with the Simpsons the same way as Max Cady did with the Bowdens.

-Hey kids, wanna drive through that cactus patch?

The houseboat
- Oh no! Dad's been drugged!
Season 4 - 9F04 - Treehouse of Horror III
In Treehouse of Horror III, the evil Krusty doll hitch a ride with Homer the same way Max Cady did in Cape Fear.
Plot from