UX 122 then FR 2051 at Madrid
Cordoba → Madrid → Palma de Mallorca
Timetable, Madrid time
04:45UX 122 from Cordoba at the gate
17:25FR 2051 to Palma de Mallorca leaves the gate
12 h 40 apart on the timetable
FR 2051 leaves 12 h 40 after UX 122 arrives on the timetable: more than half a day, so not a connection we count.