E9 866 then FR 2063 at Madrid
Santa Clara → Madrid → Palma de Mallorca
Timetable, Madrid time
01:40E9 866 from Santa Clara at the gate
13:45FR 2063 to Palma de Mallorca leaves the gate
12 h 05 apart on the timetable
FR 2063 leaves 12 h 05 after E9 866 arrives on the timetable: more than half a day, so not a connection we count.