FR 9441 then FR 2053 at Madrid
Lisbon → Madrid → Palma de Mallorca
Timetable, Madrid time
22:35FR 9441 from Lisbon at the gate
19:15FR 2053 to Palma de Mallorca leaves the gate
20 h 40 apart on the timetable, overnight
FR 2053 leaves 20 h 40 after FR 9441 arrives on the timetable: more than half a day, so not a connection we count.