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