IB 980 then FR 2053 at Madrid
Salerno → Madrid → Palma de Mallorca
Timetable, Madrid time
17:55IB 980 from Salerno at the gate
13:50FR 2053 to Palma de Mallorca leaves the gate
19 h 55 apart on the timetable, overnight
FR 2053 leaves 19 h 55 after IB 980 arrives on the timetable: more than half a day, so not a connection we count.