FR 189 then CX 1903 at Madrid
Edinburgh → Madrid → Palma de Mallorca
Timetable, Madrid time
18:35FR 189 from Edinburgh at the gate
11:25CX 1903 to Palma de Mallorca leaves the gate
16 h 50 apart on the timetable, overnight
CX 1903 leaves 16 h 50 after FR 189 arrives on the timetable: more than half a day, so not a connection we count.