W4 6017 then FR 8384 at Barcelona
Rome → Barcelona → Budapest
Timetable, Barcelona time
08:45W4 6017 from Rome at the gate
05:55FR 8384 to Budapest leaves the gate
21 h 10 apart on the timetable, overnight
FR 8384 leaves 21 h 10 after W4 6017 arrives on the timetable: more than half a day, so not a connection we count.