QR 3767 then FR 8384 at Barcelona
Palermo → Barcelona → Budapest
Timetable, Barcelona time
12:00QR 3767 from Palermo at the gate
11:40FR 8384 to Budapest leaves the gate
23 h 40 apart on the timetable, overnight
FR 8384 leaves 23 h 40 after QR 3767 arrives on the timetable: more than half a day, so not a connection we count.