Merlock, his legion, and Jafar captured Mickey's friends/You're Only Second Rate

Here is how Mickey Mouse's friends got captured in Mickey Mouse and the Return of Jafar.

At the Seven Deserts, the Sultan, Aladdin, Mickey, Donald, and Goofy are flying Carpet to the Oasis along with Iago.