FR 5483 then W4 3174 at Madrid
Porto → Madrid → Bucharest
Timetable, Madrid time
01:15FR 5483 from Porto at the gate
18:35W4 3174 to Bucharest leaves the gate
17 h 20 apart on the timetable
W4 3174 leaves 17 h 20 after FR 5483 arrives on the timetable: more than half a day, so not a connection we count.