AT 682 then I2 1701 at Madrid
Tangier → Madrid → Ibiza
Timetable, Madrid time
11:25AT 682 from Tangier at the gate
17:20I2 1701 to Ibiza leaves the gatealso IB 1701, VY 5338, AA 8790
5 h 55 apart on the timetable
The last days
AT 682 and I2 1701 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.