CX 1863 then FR 404 at Madrid
Málaga → Madrid → Palma de Mallorca
Timetable, Madrid time
14:35CX 1863 from Málaga at the gate
07:55FR 404 to Palma de Mallorca leaves the gate
17 h 20 apart on the timetable, overnight
FR 404 leaves 17 h 20 after CX 1863 arrives on the timetable: more than half a day, so not a connection we count.