FR 7873 then FR 2053 at Madrid
Palermo → Madrid → Palma de Mallorca
Timetable, Madrid time
12:55FR 7873 from Palermo at the gate
12:20FR 2053 to Palma de Mallorca leaves the gate
23 h 25 apart on the timetable, overnight
FR 2053 leaves 23 h 25 after FR 7873 arrives on the timetable: more than half a day, so not a connection we count.