I2 1662 then IB 1145 at Madrid
Palma de Mallorca → Madrid → Lisbon
Timetable, Madrid time
14:00I2 1662 from Palma de Mallorca at the gatealso IB 1662, VY 5188
19:40IB 1145 to Lisbon leaves the gatealso LA 1670, VY 5748
5 h 40 apart on the timetable
The last days
I2 1662 and IB 1145 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.