FR 6596 then FR 8394 at Barcelona
Manchester → Barcelona → Budapest
Timetable, Barcelona time
23:40FR 6596 from Manchester at the gate
18:35FR 8394 to Budapest leaves the gate
18 h 55 apart on the timetable, overnight
FR 8394 leaves 18 h 55 after FR 6596 arrives on the timetable: more than half a day, so not a connection we count.