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