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