After the battle against Zeon, when you've completed the game, watch the end sequence and wait for the last screen, a picture of the two jewels.
Wait about 5 minutes after this, and a box will appear that says "And more..." press C and you'll be whisked away to a secret battle, where you'll have to kill all the Greater Devils, Zeon, and a few other characters.
If you look at the map of this battle, you'll see that it's in the shape of Sonic the Hedgehog!