QR 3663 then FR 8394 at Barcelona
Bologna → Barcelona → Budapest
Timetable, Barcelona time
10:05QR 3663 from Bologna at the gatealso LA 5855
09:15FR 8394 to Budapest leaves the gate
23 h 10 apart on the timetable, overnight
FR 8394 leaves 23 h 10 after QR 3663 arrives on the timetable: more than half a day, so not a connection we count.