AA 8675 then I2 1665 at Madrid
Cairo → Madrid → Palma de Mallorca
Timetable, Madrid time
03:20AA 8675 from Cairo at the gate
13:40I2 1665 to Palma de Mallorca leaves the gatealso IB 1665
10 h 20 apart on the timetable
The last days
AA 8675 and I2 1665 weren’t both flown 15 min to 12 h apart in the last 21 days.
Statistics from past flights, not live flight information. Always check times and your connection with your airline, and don’t base travel or booking decisions on these numbers.