Fantasia (1940) is an animated film, directed and produced by Walt Disney, which mixes animation with classical music.
When the aliens invade after coming through the portal the "Sorcerer's Apprentice is played 'in Treehouse of Horror XVIII.
When Homer claims to be smarter than Flanders the Devil in Treehouse of Horror IV "Ned Flanders transforms into Chernabog the Devil from A "Night on Bald Mountain" segment with the same background music being played.
In Pulpit Friction The frog plague spoofs "The Sorcerer's Apprentice" segment.
In the episode Simpsons Bible Stories Nelson Muntz angry appearance from the rubble of his tower mimicks the scene where Tchernobog the Devil throws his hands in the air in the "Night at Bald Mountain" segment. The background music even quotes the same music.
The couch gag used for the episode Homerazzi where Homer's evolution is shown parodies several scenes from the Rite of Spring segment from "Fantasia", from the creation of the first organisms until the extinction of the dinosaurs.
In the episode Kiss Kiss, Bang Bangalore ,During the final musical sequence a monkey is seen swinging an elephant around by its trunk. This is very similar to the final dance sequence in "The Dance of the Hours" in which some crocodiles do the same with much larger elephants.
In the episode Fland Canyon Bart arrives and with a magical tide, brings everyone back to Springfield, making them protest while he laughs.