FR 5712 then LA 1629 at Madrid
Budapest → Madrid → Palma de Mallorca
Timetable, Madrid time
09:05FR 5712 from Budapest at the gate
23:30LA 1629 to Palma de Mallorca leaves the gatealso I2 1679, IB 1679, CX 1800, VY 5177, QR 6996
14 h 25 apart on the timetable
LA 1629 leaves 14 h 25 after FR 5712 arrives on the timetable: more than half a day, so not a connection we count.