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