Bleach Episode 287: Side Story! Ichigo and the Magic Lamp is the continuation of the Bleach series from the last episode Bleach Episode 286 : Ichigo's Return! Protect Karakura Town.
This is a special episode to celebrate the tenth year the manga has been running, Ichigo and a number of other characters take part in a alternate world that hinges closely on the stories of Aladdin and the Magic Lamp. Chigo (Ichigo) finds out that this is all a dream, and strives to wake up, while the others are intent on finding a hidden treasure called a Snow Crystal. Throughout a series of misadventures, Chigo and the others encounter a magic lamp with the power to grant three wishes, the "genie" being Rukiruki (Rukia), who, by breaking the laws of granting wishes is sentenced to be executed in the "Lamp Society". Chigo and the others go to rescue her, and by doing so, Chigo is granted the third and final wish. Instead of being wished to wake up from the dream he is supposedly having, he opts for the Snow Crystal. But when it appears, it is revealed that the whole ordeal was dreamed up by Isane Kotetsu in the Soul Society, who then goes outside and apologizes to her captain for having another dream.