UX 5432 then FR 2539 at Madrid
Málaga → Madrid → Bucharest
Timetable, Madrid time
07:30UX 5432 from Málaga at the gatealso AD 6902
05:50FR 2539 to Bucharest leaves the gate
22 h 20 apart on the timetable, overnight
FR 2539 leaves 22 h 20 after UX 5432 arrives on the timetable: more than half a day, so not a connection we count.