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