TP 1014 then FR 725 at Madrid
Lisbon → Madrid → Palermo
Timetable, Madrid time
14:05TP 1014 from Lisbon at the gate
12:55FR 725 to Palermo leaves the gate
22 h 50 apart on the timetable, overnight
FR 725 leaves 22 h 50 after TP 1014 arrives on the timetable: more than half a day, so not a connection we count.