IB 1040 then FR 5897 at Madrid
Mahón → Madrid → Torino
Timetable, Madrid time
15:20IB 1040 from Mahón at the gate
08:00FR 5897 to Torino leaves the gate
16 h 40 apart on the timetable, overnight
FR 5897 leaves 16 h 40 after IB 1040 arrives on the timetable: more than half a day, so not a connection we count.