The passengers were rushed off the plane to a transit hall as firefighters put out the flames. The officials said two firefighters were later taken to the hospital to be treated for smoke inhalation.
The fire didn't affect general air traffic and another plane was being prepared for the passengers traveling to Jiddah.
The officials spoke on condition of anonymity because they were not authorized to speak to the media.