EC 7639 then FR 2539 at Madrid
Lisbon → Madrid → Bucharest
Timetable, Madrid time
09:55EC 7639 from Lisbon at the gate
09:20FR 2539 to Bucharest leaves the gate
23 h 25 apart on the timetable, overnight
FR 2539 leaves 23 h 25 after EC 7639 arrives on the timetable: more than half a day, so not a connection we count.