EC 1703 then FR 394 at Madrid
Nice → Madrid → Ibiza
Timetable, Madrid time
12:25EC 1703 from Nice at the gate
18:10FR 394 to Ibiza leaves the gate
5 h 45 apart on the timetable
The last days
EC 1703 and FR 394 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.