"Well, it appears that Muammar Gaddafi’s reign of terror is at an end. For decades he’s ruled over Libya with an iron fist. For perspective, realize that, a joke about him dying in a sitcom made all the way back in 1987 got a thunderous applause from the audience. Pretty crazy, huh? What’s even crazier though, is that that sitcom actually predicted his death as happening in... you guessed it...2011," repots the Mediaite.
The whole show wasn't about St. Peter hilariously judging notorious dead people. The main plot was about a dead guy trying to convince his younger self to be more virtuous—this was just a prologue. But as Mediaite points out, this means that the idea of Gaddafi going to hell was deemed funny even back in 1987.
In this scene from the pilot of Matthew Perry's sitcom, Moammar Gaddafi seen dying and meeting St. Peter ... in 2011. The show predicted he'd bite the big one on July 29 not Oct. 20, but still, pretty close.
The sitcom in question was called Second Chance. It aired for one season in 1987 through 1988. Here’s the video clipping in point: