FR 5120 then W4 3174 at Madrid
Milan Bergamo → Madrid → Bucharest
Timetable, Madrid time
19:25FR 5120 from Milan Bergamo at the gate
18:35W4 3174 to Bucharest leaves the gate
23 h 10 apart on the timetable, overnight
W4 3174 leaves 23 h 10 after FR 5120 arrives on the timetable: more than half a day, so not a connection we count.