FR 2776 then FR 725 at Madrid
Palma de Mallorca → Madrid → Palermo
Timetable, Madrid time
00:50FR 2776 from Palma de Mallorca at the gate
19:10FR 725 to Palermo leaves the gate
18 h 20 apart on the timetable
FR 725 leaves 18 h 20 after FR 2776 arrives on the timetable: more than half a day, so not a connection we count.