FR 2776 then UX 5435 at Madrid
Palma de Mallorca → Madrid → Málaga
Timetable, Madrid time
00:50FR 2776 from Palma de Mallorca at the gate
19:25UX 5435 to Málaga leaves the gate
18 h 35 apart on the timetable
UX 5435 leaves 18 h 35 after FR 2776 arrives on the timetable: more than half a day, so not a connection we count.