FR 8393 then IB 5344 at Barcelona
Budapest → Barcelona → Rome
Timetable, Barcelona time
20:00FR 8393 from Budapest at the gate
17:20IB 5344 to Rome leaves the gate
21 h 20 apart on the timetable, overnight
IB 5344 leaves 21 h 20 after FR 8393 arrives on the timetable: more than half a day, so not a connection we count.