When Comic Book Guy throws the sledgehammer into Steve Mobbs' image on the wall video screen (after Bart hacked into the newsfeed to play a joke on the Mapple Store shoppers)
In Homer's dream, he flies on a magic carpet and meets a Genie. This genie was voiced by Robin Williams in the title referenced, but Dan Castellaneta in the sequel Return of Jafar.